• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Eanna
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 16
    • Best 0
    • Controversial 0
    • Groups 0

    Eanna

    @Eanna

    0
    Reputation
    420
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Eanna Unfollow Follow

    Latest posts made by Eanna

    • Systemctl not working

      Hi

      I am wondering is there an explained run through on how the systemd works with the raspberry pi?
      i have tried 4 similar ways but none seem to work for me. Any help would be greatly appreciated.
      I'm trying to run a python script, with NOOBS software on the PI.

      Thanks

      posted in UniPi 1 - First Generation
      E
      Eanna
    • RE: Running UniPi on reboot

      @TomasKnot I want the UniPi to run the software loaded on it once the Pi and UniPi are powered up

      posted in UniPi 1 - First Generation
      E
      Eanna
    • RE: Running UniPi on reboot

      trying to run the unipi 1.1 on reboot through python code

      posted in UniPi 1 - First Generation
      E
      Eanna
    • Running UniPi on reboot

      Hi

      I'm just wondering is there a way to run the unipi the whole time.
      I've tried all of the ways online but none seems to work

      Thanks

      posted in UniPi 1 - First Generation
      E
      Eanna
    • RE: Input change not working

      @TomasKnot
      Can I send a pulse or anything out?
      Or is this only through analogue pins?

      posted in Official EVOK API
      E
      Eanna
    • RE: Input change not working

      @TomasKnot
      Will this code change an input to an output?
      How would I do this?

      Thanks

      posted in Official EVOK API
      E
      Eanna
    • RE: Input change not working

      this is the error message I'm getting.
      has anyone seen this?

      {"status": "fail", "data": "Input is malformed; could not decode JSON object."}

      posted in Official EVOK API
      E
      Eanna
    • Input change not working

      Hi

      im getting the hang of the UniPi 1.1
      But i'm having difficulty changing the input state.
      Could anyone give a hand?

      #!/usr/bin/python3
      import http.client
      conn = http.client.HTTPConnection("192.168.173.209:8080")

      payload = "{"input":"1","circuit":5","bitvalue":"1",:"rising","rising":["string"],"counter":"0","mode":"Simple","modes":["Simple"],"ds_mode":"string (optional)","ds_modes":["string"],"glob_dev_id":"number (required)","alias":"string (optional)"}"

      payload = "{"input":"5"""bitvalue: 1""}"

      headers = { 'content-type': "application/json" }

      conn.request("POST", "/json/input/circuit: 1", payload, headers)

      res = conn.getresponse()
      data = res.read()

      print(data.decode("utf-8"))

      this is my code.

      posted in Official EVOK API
      E
      Eanna
    • RE: UniPi changing relay state

      @TomasKnot
      Should that ip address work for all or should i use the pi's ip address?

      posted in UniPi 1 - First Generation
      E
      Eanna
    • RE: UniPi changing relay state

      @TomasKnot said in UniPi changing relay state:

      "YOUR-NEURON-IP:PORT/rest/all"

      Hi Tomas

      Im using the unipi 1.1. does that still work with the
      "YOUR-NEURON-IP:PORT/rest/all" ?

      thanks again

      posted in UniPi 1 - First Generation
      E
      Eanna