Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. breimann
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by breimann

    • RE: This entity does not have a unique ID, therefore its settings cannot be managed from the UI.

      Multimax, I was using Domoticz, then moved over to HA, and I had a few mys sensors, nodes, switches to add. I found I needed to activate any relay nodes from the node (which hopefully has a local pushbutton switch) for it to present automatically in lovelace. From then on the persistence file took over.

      The issue i have with one node is a hacked 12 v LED pendant light, with no local physical switch... still haven't added that one to HA yet as it will require me to pull it apart again, and add a switch, I think.

      Anyway, not sure if that is helpful, i'm still newb to HA, haven't gotten any automations going, but hoping to soon.

      posted in Home Assistant
      breimann
      breimann
    • RE: Feasibility / Brainstorm for idea of Mobile outdoor Mysensors Network

      @thucar thankyou for your thoughts on this idea... I'll need to do some further research on many of your suggestions. Thanks again.

      posted in Development
      breimann
      breimann
    • Feasibility / Brainstorm for idea of Mobile outdoor Mysensors Network

      Re: Total Noob to mysensors Looking at feasibility of a project

      I came across this topic which is a bit old... it's touching on the idea I've had for a Mysensors Single mobile network.

      The idea is this:
      Basically I'd like to create a network that I can move around in say the outdoors when camping, or out in the bush (yes, Im in australia) with the kids, where you can set in place several outdoor nodes (battery operated of course) maybe some with motion sensors and alarms in them, then maybe a pair of laser trip wires etc. Then you have a controller/gateway in one that is mobile either using an old smartphone that jumps on a small point to point wifi network, or uses bluetooth to talk back to the main controller, or maybe just a controller / gateway in one with a touchscreen??

      Then you can monitor the various sensors - eg. if a motion detector goes off, you know which one, and you can reset or tell it to sound it's alarm or reset the alarm all from the control node/controller.

      Obviously these would be all within 50-100 metres.

      You might have a lux sensor to know if it's dark or light, then you could turn on some light nodes if someone trips your "perimeter" etc.

      This could have some great application for group games for kids, (or kids at heart) or some more serious implications with detecting animal / foxes / etc entering a zone or area you're camping in etc.

      Am I making myself clear? Does this make sense what I would like to do?

      Do you think it would be feasible with mysensors (i think so) and if so, what would be the most simplest solution to develop it?

      Ie could you just use a bunch of nodes talking back to a node that has the touchscreen without a gateway and controller???

      I've created my own network at home, using a RPi running Domoticz, an arduino gateway with an NRF24, and various nodes.

      I just wanted to see about setting such a network up that is fully mobile, maybe not internet connected, but maybe in future might be with a GSM card or similar??

      Just a thought, and wanting to seek more experienced Mysensor members input on the matter, or if someone else has had the idea already and started implementation??

      posted in Development
      breimann
      breimann
    • RE: ESP8266 as WiFi gateway & controller & node

      @nikil511 and @Lendog I got it going to some extent, here's the serial monitor dump from the NodeMCU. I'm not sure what's happening, but it seems after a certain number of tries it dies, and won't reconnect to the wifi.

      Any ideas?

      ....WiFi Connected!
      IP: 192.168.0.7
      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2769
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2767
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2769
      HTTP/1.1 200 OK
      Content-Type: text/html; charset=utf-8
      Content-Length: 1
      Connection: close
      Status: 200 OK
      X-Frame-Options: ALLOWALL
      Access-Control-Allow-Origin: *
      Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
      Access-Control-Allow-Headers: origin, content-type, X-Requested-With
      Access-Control-Max-Age: 1800
      ETag: "cfcd208495d565ef66e7dff9f98764da"
      Cache-Control: max-age=0, private, must-revalidate
      X-Request-Id: 78d55d27-5e3b-44b8-a646-aa5621e2474a
      X-Runtime: 0.012198
      X-Powered-By: Phusion Passenger 4.0.57
      Date: Sat, 02 Sep 2017 12:47:14 GMT
      Server: nginx/1.9.3 + Phusion Passenger 4.0.57
      
      00;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2769
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      HTTP/1.1 200 OK
      Content-Type: text/html; charset=utf-8
      Content-Length: 2
      Connection: close
      Status: 200 OK
      X-Frame-Options: ALLOWALL
      Access-Control-Allow-Origin: *
      Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
      Access-Control-Allow-Headers: origin, content-type, X-Requested-With
      Access-Control-Max-Age: 1800
      ETag: "e369853df766fa44e1ed0ff613f563bd"
      Cache-Control: max-age=0, private, must-revalidate
      X-Request-Id: ca8837ac-4126-4cb9-a15c-79aba886bad6
      X-Runtime: 0.062403
      X-Powered-By: Phusion Passenger 4.0.57
      Date: Sat, 02 Sep 2017 12:47:22 GMT
      Server: nginx/1.9.3 + Phusion Passenger 4.0.57
      
      340;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      HTTP/1.1 200 OK
      Content-Type: text/html; charset=utf-8
      Content-Length: 1
      Connection: close
      Status: 200 OK
      X-Frame-Options: ALLOWALL
      Access-Control-Allow-Origin: *
      Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
      Access-Control-Allow-Headers: origin, content-type, X-Requested-With
      Access-Control-Max-Age: 1800
      ETag: "cfcd208495d565ef66e7dff9f98764da"
      Cache-Control: max-age=0, private, must-revalidate
      X-Request-Id: 5ff4845e-b807-4398-ae11-fac634e2c2ec
      X-Runtime: 0.012793
      X-Powered-By: Phusion Passenger 4.0.57
      Date: Sat, 02 Sep 2017 12:47:27 GMT
      Server: nginx/1.9.3 + Phusion Passenger 4.0.57
      
      00;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;10;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2768
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2769
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      HTTP/1.1 200 OK
      Content-Type: text/html; charset=utf-8
      Content-Length: 1
      Connection: close
      Status: 200 OK
      X-Frame-Options: ALLOWALL
      Access-Control-Allow-Origin: *
      Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
      Access-Control-Allow-Headers: origin, content-type, X-Requested-With
      Access-Control-Max-Age: 1800
      ETag: "cfcd208495d565ef66e7dff9f98764da"
      Cache-Control: max-age=0, private, must-revalidate
      X-Request-Id: 7cfa0258-05fa-461d-af65-426cbcc0017b
      X-Runtime: 0.009982
      X-Powered-By: Phusion Passenger 4.0.57
      Date: Sat, 02 Sep 2017 12:47:39 GMT
      Server: nginx/1.9.3 + Phusion Passenger 4.0.57
      
      00;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=6,l=5,sg=0:0000884101
      Sensor:4;10;1;0;1;0000884101
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2769
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=5,l=5,sg=0:1099431936
      Sensor:4;10;1;0;1;1099431936
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 3-3-0 s=10,c=1,t=1,pt=7,l=5,sg=0:-0.0
      Sensor:3;10;1;0;1;-0.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2769
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=6,l=5,sg=0:0000A04101
      Sensor:4;11;1;0;0;0000A04101
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=0000A04101&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 3-3-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:3;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 3-3-0 s=11,c=1,t=4,pt=7,l=5,sg=0:18.0
      Sensor:3;11;1;0;4;18.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 5-5-0 s=234,c=1,t=16,pt=7,l=5,sg=0:23.0
      Sensor:5;234;1;0;16;23.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2770
      0;0;3;0;9;read: 4-4-0 s=10,c=3,t=1,pt=7,l=5,sg=0:17.0
      Sensor:4;10;3;0;1;17.0
      0;0;3;0;9;read: 5-5-0 s=11,c=1,t=0,pt=7,l=5,sg=0:23.0
      Sensor:5;11;1;0;0;23.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=23.0&field2=2770
      0;0;3;0;9;read: 3-7-0 s=11,c=1,t=0,pt=7,l=5,sg=0:18.000
      Sensor:3;11;1;0;0;18.000
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=18.000&field2=2770
      0;0;3;0;9;read: 4-4-0 s=11,c=1,t=0,pt=7,l=5,sg=0:20.0
      Sensor:4;11;1;0;0;20.0
      connecting to api.thingspeak.com
      Requesting URL: /update?key=7BECYAJ5IYGYSIJ5&field1=20.0&field2=2769
      0;0;3;0;9;read: 4-4-0 s=10,c=1,t=3,pt=7,l=5,sg=0:17.0
      Sensor:4;10;1;0;3;17.0
      0;0;3;0;9;read: 5-5-0 s=10,c=1,t=1,pt=7,l=5,sg=0:16.0
      Sensor:5;10;1;0;1;16.0
      0;0;3;0;9;read: 19-3-0 s=12,c=1,t=1,pt=7,l=5,sg=0:3597162945119403598
      
      Exception (0):
      epc1=0x3041c95b epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
      
      ctx: cont 
      sp: 3ffefb80 end: 3ffefe10 offset: 01a0
      
      >>>stack>>>
      3ffefd20:  3ffeeb34 3ffeeaa7 3ffeeaa0 402045f0  
      3ffefd30:  0000000c 00000001 00000001 00000007  
      3ffefd40:  00000005 00000000 3ffeeaf4 0000001b  
      3ffefd50:  00000000 00000000 0000003b 00000010  
      3ffefd60:  00000001 00000005 00000001 00000013  
      3ffefd70:  00000003 00000000 0000000c 000000e1  
      3ffefd80:  00000001 00000004 00000003 40202c18  
      3ffefd90:  41a00000 00000008 3ffefdb3 3ffeeaa0  
      3ffefda0:  3fffdad0 00000000 3ffeedd8 4020306e  
      3ffefdb0:  342e3332 0700a800 feefeffe feefeffe  
      3ffefdc0:  feefeffe feefeffe feefeffe feefeffe  
      3ffefdd0:  00000014 feefeffe feefeffe feefeffe  
      3ffefde0:  00000000 00000000 00000001 3ffeede0  
      3ffefdf0:  3fffdad0 00000000 3ffeedd8 402077f8  
      3ffefe00:  feefeffe feefeffe 3ffeedf0 40100718  
      <<<stack<<<
      
       ets Jan  8 2013,rst cause:2, boot mode:(3,7)
      
      load 0x4010f000, len 1384, room 16 
      tail 8
      chksum 0x2d
      csum 0x2d
      v3de0c112
      ~ld
      ⸮
      
      ESP8266 Remote Temp Sensor
      Humidity: 21.00 %	Temperature: 20.00 *C Heat index: 23.36 *C Connecting to OPTUS_70E4F0
      ............................
      posted in Development
      breimann
      breimann
    • RE: ESP8266 as WiFi gateway & controller & node

      @nikil511 thankyou. I don't think redoing from scratch is an option, so i'll try your code. Thankyou @Lendog as well for taking the time to reply. I'll see how i go!

      posted in Development
      breimann
      breimann
    • RE: ESP8266 as WiFi gateway & controller & node

      @Lendog Hi there, i'm trying to get @nikil511 esp8266 gw controller & node going, but having all sorts of issues compiling the code in the Arduino IDE. Do you think you could help me as you got yours going last year?? I haven't had a reply from @nikil511 so far.

      posted in Development
      breimann
      breimann
    • RE: ESP8266 as WiFi gateway & controller & node

      Hi @nikil511 great project... just wondering how difficult it would be to add an OLED to show the (local) temp and hum on the sensor node with your pro mini + NRF?
      The reason I ask is i'm looking to create a little setup for a friend who works for a charity. They run a community garden for refugees, and have just built a hot house (from funds raised in the community).
      They would like to monitor the temp and hum (and possibly control the shutters in future) of the hot house but also be able to send the data to the coordinator's mobile phone to remote monitor.
      This project came up when i was searching.
      It just would be helpful to display the local Temp and Hum in the hot house for them also when they or any other volunteers are in there.
      Thankyou!

      posted in Development
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 Excellent. Thankyou.

      posted in My Project
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 Nice. Good thinking re the wedge. I was thinking some sort of angle type thingy to level it.

      Just a question re your power supply. Once you got the node onto the 9v plug pack, did you find the sensor was ok being supplied with 5v from your Nano?

      posted in My Project
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 I've been collecting some of the parts for this project. Just wanted to check something. I have a similar poly tank like yours, but is there an issue with mounting the transducer so it's not completely level as the roof slopes up?? Do you get what i mean?

      posted in My Project
      breimann
      breimann
    • RE: Another simple (No SMT) relay actuator

      @dpressle Nice job!

      posted in My Project
      breimann
      breimann
    • RE: 💬 Domoticz

      @dpcr thankyou for this explanation. Quite clear.

      Yes, i've installed Domoticz on my pi3 fine. It's been running for 6 months on there quite well.

      I've setup a static IP address on my local network.

      It's the OPENVPN connection that's the issue i think.

      Thanks though. Very helpful.

      posted in Announcements
      breimann
      breimann
    • RE: 💬 Domoticz

      @gohan thanks everyone. i'll try out some things and see how i go.

      posted in Announcements
      breimann
      breimann
    • RE: Round water tank level sensor

      Awesome... i had a feeling you weren't too far away!

      Nice to connect with someone in the same country. Yes, i still haven't gotten the ACS712 operational but have temporarily put the switch node in for the pump to turn it on and off.
      I'm slowly creeping up on the ACS712 code. The latest i've gotten on that is going back over some of PeteB's projects in particular his Whole House Fan.

      posted in My Project
      breimann
      breimann
    • RE: 💬 Domoticz

      Thanks @hek and @LastSamurai much appreciated

      posted in Announcements
      breimann
      breimann
    • RE: 💬 Domoticz

      Hi there, i'm wondering if anyone in MySensors world would have a simple step by step process to setup my Raspberry Pi 3 as a remotely accessible web server (running Domoticz) so I can access it via the Android Domoticz app outside my WiFi network?
      I've tried following the thread on the Domoticz Wiki Forum but had no luck beyond trying to generate the RSA keys.
      I've also tried setting up port 22 SSH from some articles a mate of mine provided but still no joy.
      I would REALLY like to access it outside our WiFi network!
      PS - Sorry if I've posted this where i shouldn't.

      posted in Announcements
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 Off grid by choice... in country South Australia.

      Yeah, i thought of the lead issue, but the tanks are fairly close together (less than a metre apart) so i might be able to pull it off... anyway, i want to finish a few nodes off for inside our "shouse" (we live in a shed), and i'm still trying to complete my Pump Controller node so we'll see how we go slowly collecting the parts.

      posted in My Project
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 These photos are fantastic!

      It looks like you have the same stepped drill bit as me!! 🙂

      This is really helpful. Now i can start tracking down the bits i need, although i already have a couple of those exact sensors, some flexi conduit, and 240v by the tanks for my pump, which is good (although I'm off grid so the 240v is really just a BIG battery with inverter!).

      Im thinking of running two sensors (one for each tank side by side) off the same node - what would be the pros and cons of that do you think?

      Thanks again for the great pics. It seems much more doable now and i know what i need.

      posted in My Project
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 Thanks for this information. Good idea re the flexi conduit and how it means you can use non uv resistant cable.

      I look forward to some pics, particularly of the transducer assembly in terms of sealing that bit and fixing it to the tank.

      posted in My Project
      breimann
      breimann
    • RE: Round water tank level sensor

      @Boots33 I love this project! When I first got into MYS last year I was really keen to create a couple nodes like this but at the time it seemed too hard.

      Now I can give it a go as your setup is very like mine. I really like the idea of using 50mm pvc for the enclosure.

      I'm wondering if you might be able to post some more photos of the node mounted on the tank?

      And where do you power it from? I take it the Flexi conduit going along the ground houses the power feed?

      Brilliant!

      posted in My Project
      breimann
      breimann
    • RE: Using debounce twice in the same sketch

      @pansen I uploaded it last week, and it all works great!!! Thankyou Heaps!!

      posted in Development
      breimann
      breimann
    • RE: Another simple (No SMT) relay actuator

      @dpressle nice!

      posted in My Project
      breimann
      breimann
    • RE: Another simple (No SMT) relay actuator

      @dpressle This is an impressive unit!

      I love the neatness and non SMT. Fantastic.

      Do you have an idea of the pricing all up?

      posted in My Project
      breimann
      breimann
    • RE: Using debounce twice in the same sketch

      @pansen Sorry i haven't gotten to uploading it. Too much else on. Will let you know when i do.

      posted in Development
      breimann
      breimann
    • RE: Help sought for code for ACS712 Current Sensor used with a Pump Controller

      @Boots33 thanks for your input. Really encouraging.

      I can't do the 5v plug pack in the power point as the pump has it's own controller which just turns itself on when it detects pressure fluctuations (ie a tap is turned on) so there's always power to the pump if that makes sense?

      Good idea though!

      Thanks for your ideas and taking the time to post your suggestions. Very much appreciated.

      posted in Development
      breimann
      breimann
    • RE: Help sought for code for ACS712 Current Sensor used with a Pump Controller

      Hi @Boots33 and @TimO. Thanks for your prompt replies.

      My main issue is finding non-specific (not for a specific context) ACS712 code for mysensors.

      I've looked at your Battery monitor thread a little Boots33 and i'll have another look.

      Thankyou TimO for sharing your code. I'll have a look and see what i can understand and if it might work / how i might adapt for my context.

      posted in Development
      breimann
      breimann
    • Help sought for code for ACS712 Current Sensor used with a Pump Controller

      Hi there, just wanting to get some help to use an ACS712 current sensing module in a project i'm working on.

      It's to control our 240v 300W pump that has pressure sense to turn on and flow sense to turn off.

      I"m basically wanting to monitor when the pump is on, and how much power it uses plus the ability to turn it off if i'm away from home and it's running too much (eg if there's a leak somewhere).

      These are the specs:

      • Power node off the 240v
      • current sensor to send alert when pump is on (can set that up in my Controller running Domoticz) and off
      • recording power usage (within Domoticz)
      • relay to turn off 240v to pump if necessary

      So far I've put most of the hardware together but my issue is the code.

      The RelayActuator sketch is cool, it's a matter of finding a sketch for the ACS712 and merging the two.

      Can anyone help?

      posted in Development
      breimann
      breimann
    • RE: Using debounce twice in the same sketch

      @pansen Thankyou!!! I made those 3 changes and tried compiling and it compiled all good. Now i just need to try uploading but that's a bit complex as my Mega is in the chookhouse! I'll try it tomorrow and let you know.

      posted in Development
      breimann
      breimann
    • RE: Using debounce twice in the same sketch

      @breimann Here is my code. It's not pretty.

      #define MY_DEBUG
      
      // Enable and select radio type attached 
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      //#define MY_RS485
       
      #include <SPI.h>
      #include <MySensors.h>  
      #include <DHT.h>
      #include <Bounce2.h>
      
      // Set this to the pin you connected the DHT's data pin to
      #define DHT_DATA_PIN 14
      
      // Set this offset if the sensor has a permanent small offset to the real temperatures
      #define SENSOR_TEMP_OFFSET 0
      
      // Sleep time between sensor updates (in milliseconds)
      // Must be >1000ms for DHT22 and >2000ms for DHT11
      static const uint64_t UPDATE_INTERVAL = 60000;
      
      // Force sending an update of the temperature after n sensor reads, so a controller showing the
      // timestamp of the last update doesn't show something like 3 hours in the unlikely case, that
      // the value didn't change since;
      // i.e. the sensor would force sending an update every UPDATE_INTERVAL*FORCE_UPDATE_N_READS [ms]
      static const uint8_t FORCE_UPDATE_N_READS = 10;
      
      #define CHILD_ID_HUM 10
      #define CHILD_ID_TEMP 11
      #define CHILD_ID_DOOR 12
      
      #define RELAY_ON 0                      // switch around for ACTIVE LOW / ACTIVE HIGH relay
      #define RELAY_OFF 1
      #define DOOR_SENSOR 41                  // pin for door reed switch
      
      Bounce debouncer = Bounce(); 
      int oldValue=-1;
      
      //
      
      #define noRelays 7                     //2-4
      const int relayPin[] = {42, 43, 44, 50, 51, 52, 53};       //  switch around pins to your desire
      const int buttonPin[] = {2, 3, 4, 5, 6, 7, 8};   //  switch around pins to your desire
      
      class Relay             // relay class, store all relevant data (equivalent to struct)
      {
        public:
          int buttonPin;                   // physical pin number of button
          int relayPin;             // physical pin number of relay
          boolean relayState;               // relay status (also stored in EEPROM)
      };
      
      Relay Relays[noRelays];
      Bounce debouncer[noRelays];
      MyMessage msg[noRelays];
      
      
      float lastTemp;
      float lastHum;
      uint8_t nNoUpdatesTemp;
      uint8_t nNoUpdatesHum;
      bool metric = true;
      
      MyMessage msgHum(CHILD_ID_HUM, V_HUM);
      MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);
      MyMessage msgDoor(CHILD_ID_DOOR, V_TRIPPED);
      DHT dht;
      
      
      void presentation()  
      { 
        // Send the sketch version information to the gateway
        sendSketchInfo("The Chook Hotel", "2.0");
        
        // Register all sensors to gw (they will be created as child devices)
        present(CHILD_ID_HUM, S_HUM);
        present(CHILD_ID_TEMP, S_TEMP);
        present(CHILD_ID_DOOR, S_DOOR);  
      
        metric = getConfig().isMetric;
        
        wait(100);
      
        for (int i = 0; i < noRelays; i++)
          present(i, S_LIGHT);                               // present sensor to gateway
      
        wait(100);
      
      }
      
      
      void setup()
      {
        dht.setup(DHT_DATA_PIN); // set data pin of DHT sensor
        if (UPDATE_INTERVAL <= dht.getMinimumSamplingPeriod()) {
          Serial.println("Warning: UPDATE_INTERVAL is smaller than supported by the sensor!");
        }
        // Sleep for the time of the minimum sampling period to give the sensor time to power up
        // (otherwise, timeout errors might occure for the first reading)
        sleep(dht.getMinimumSamplingPeriod());
        
        wait(100);
        // Initialize Relays with corresponding buttons
        for (int i = 0; i < noRelays; i++) {
          Relays[i].buttonPin = buttonPin[i];              // assign physical pins
          Relays[i].relayPin = relayPin[i];
          msg[i].sensor = i;                                   // initialize messages
          msg[i].type = V_LIGHT;
          pinMode(Relays[i].buttonPin, INPUT_PULLUP);
          wait(100);
          pinMode(Relays[i].relayPin, OUTPUT);
          Relays[i].relayState = loadState(i);                               // retrieve last values from EEPROM
          digitalWrite(Relays[i].relayPin, Relays[i].relayState ? RELAY_ON : RELAY_OFF); // and set relays accordingly
          send(msg[i].set(Relays[i].relayState ? true : false));                 // make controller aware of last status
          wait(50);
          debouncer[i] = Bounce();                        // initialize debouncer
          debouncer[i].attach(buttonPin[i]);
          debouncer[i].interval(30);
          wait(50);
        }
      
        // Setup the button
        pinMode(DOOR_SENSOR,INPUT);
        // Activate internal pull-up
        digitalWrite(DOOR_SENSOR,HIGH);
        
        // After setting up the button, setup debouncer
        debouncer.attach(DOOR_SENSOR);
        debouncer.interval(5);
      
      }
      
      
      void loop()      
      {  
        // Force reading sensor, so it works also after sleep()
        dht.readSensor(true);
        
        // Get temperature from DHT library
        float temperature = dht.getTemperature();
        if (isnan(temperature)) {
          Serial.println("Failed reading temperature from DHT!");
        } else if (temperature != lastTemp || nNoUpdatesTemp == FORCE_UPDATE_N_READS) {
          // Only send temperature if it changed since the last measurement or if we didn't send an update for n times
          lastTemp = temperature;
          if (!metric) {
            temperature = dht.toFahrenheit(temperature);
          }
          // Reset no updates counter
          nNoUpdatesTemp = 0;
          temperature += SENSOR_TEMP_OFFSET;
          send(msgTemp.set(temperature, 1));
      
          #ifdef MY_DEBUG
          Serial.print("T: ");
          Serial.println(temperature);
          #endif
        } else {
          // Increase no update counter if the temperature stayed the same
          nNoUpdatesTemp++;
        }
      
        // Get humidity from DHT library
        float humidity = dht.getHumidity();
        if (isnan(humidity)) {
          Serial.println("Failed reading humidity from DHT");
        } else if (humidity != lastHum || nNoUpdatesHum == FORCE_UPDATE_N_READS) {
          // Only send humidity if it changed since the last measurement or if we didn't send an update for n times
          lastHum = humidity;
          // Reset no updates counter
          nNoUpdatesHum = 0;
          send(msgHum.set(humidity, 1));
          
          #ifdef MY_DEBUG
          Serial.print("H: ");
          Serial.println(humidity);
          #endif
        } else {
          // Increase no update counter if the humidity stayed the same
          nNoUpdatesHum++;
        }
      
        for (byte i = 0; i < noRelays; i++) {
          if (debouncer[i].update()) {
            
            int value = debouncer[i].read();
            
            if ( value == LOW) {
              Relays[i].relayState = !Relays[i].relayState;
              digitalWrite(Relays[i].relayPin, Relays[i].relayState ? RELAY_ON : RELAY_OFF);
              send(msg[i].set(Relays[i].relayState ? true : false));
              // save sensor state in EEPROM (location == sensor number)
              saveState( i, Relays[i].relayState );
      
            }
      
          }
        }
      
      debouncer.update();
        // Get the update value
        int value = debouncer.read();
       
        if (value != oldValue) {
           // Send in the new value
           send(msgDoor.set(value==HIGH ? 1 : 0));
           oldValue = value;
        }
        //wait(20);
      }
      
      void receive(const MyMessage &message) {
        if (message.type == V_LIGHT) {
          if (message.sensor < noRelays) {          // check if message is valid for relays..... previous line  [[[ if (message.sensor <=noRelays){ ]]]
            Relays[message.sensor].relayState = message.getBool();
            digitalWrite(Relays[message.sensor].relayPin, Relays[message.sensor].relayState ? RELAY_ON : RELAY_OFF); // and set relays accordingly
            saveState( message.sensor, Relays[message.sensor].relayState ); // save sensor state in EEPROM (location == sensor number)
          }
        }
        wait(20);
      }
      posted in Development
      breimann
      breimann
    • RE: Using debounce twice in the same sketch

      @pansen, Thankyou for your suggestion. I just don't understand the bounce/debounce function properly.

      I'll try posting my whole code.

      Thankyou to both of you for taking the time to help.

      posted in Development
      breimann
      breimann
    • RE: Using debounce twice in the same sketch

      Thankyou @blacey I can try and thanks for telling me how to post code properly!

      posted in Development
      breimann
      breimann
    • Using debounce twice in the same sketch

      Hi there, i'm struggling to combine a couple sketches and it seems the only issue now is using debouncer.

      The binaryswitchsensor sketch uses Debouncer, but my relay actuator with buttons sketch does as well.

      These are the errors i get compiling:
      ChookHouseAutomationV21.ino:89:26: error: conflicting declaration 'Bounce debouncer [7]'
      ChookHouseAutomationV21.ino:71:8: error: 'debouncer' has a previous declaration as 'Bounce debouncer'
      ChookHouseAutomationV21.ino: In function 'void setup()':
      ChookHouseAutomationV21.ino:151:14: error: no match for 'operator[]' (operand types are 'Bounce' and 'int')
      ChookHouseAutomationV21.ino:152:14: error: no match for 'operator[]' (operand types are 'Bounce' and 'int')
      ChookHouseAutomationV21.ino:153:14: error: no match for 'operator[]' (operand types are 'Bounce' and 'int')
      ChookHouseAutomationV21.ino: In function 'void loop()':
      ChookHouseAutomationV21.ino:219:18: error: no match for 'operator[]' (operand types are 'Bounce' and 'byte {aka unsigned char}')
      ChookHouseAutomationV21.ino:221:28: error: no match for 'operator[]' (operand types are 'Bounce' and 'byte {aka unsigned char}')
      Error compiling.

      Can anyone help please?? This is for my chook house automation system.

      posted in Development
      breimann
      breimann
    • RE: Selecting a motor

      @stefaanv Hi there, how is your coup going now? I've just pulled down an old kids cubby house at a friend who is moving, and put it back up on our farm. So I'm getting ready to build my auto doors etc.

      posted in My Project
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Boots33 thanks that's really helpful info much appreciated. Now i need to decommission my Mega as my GW ready for RFlink and setup a new gateway.

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Boots33 thanks for sharing this info. Really helpful.

      I have another question if you don't mind. What's the process once RFlink is connected and running in domoticz to program wireless power points like Cleve and Watts etc? Is there a learning process when you press the on/off buttons on your remote?

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Boots33 awesome!!
      Did you make one from scratch or buy the RFLink board? Any tips in terms of choosing the 433mhz Rx Tx pair?

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Boots33 Oh I have a question though. You're using RFLink with Domoticz is that right?. How do you actually connect your RFLink Arduino to Domoticz? It might be a silly question, but I'm already running Domoticz on a RPi3, and a MYS serial gateway plugged into one of the 4 USB ports on my RPi. DO I just plug the RFLink into one of the USB ports too??

      Is it that simple??

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Boots33 Thanks heaps! That's really encouraging. Yes i saw that Digitech brand listed. I've also contacted Stuntteam via email to check. Best way probably is to build it and test!

      Thanks again!

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Boots33 Thankyou. That's all very helpful info. I've learnt more about RFlink now, finding their website and online shop.

      I've got a Mega i'm using for my GW currently but will put a nano or pro mini in for the gw, and free up the mega, and i have some 433mhz RX/TX pair coming, so looks like i'll be making an RFlink for my Domoticz install.

      Hoping and praying RFlink can talk to my weather station and 7 or 8 wireless 240v switch sockets!!

      posted in Hardware
      breimann
      breimann
    • RE: Help hacking a LED outdoor security light motion sensor

      @AWI i've since done some more work on this and discovered the switched 3.95v didn't share a common ground with the rest of the circuit. So i ended up hooking up a DIL reed relay PRMA 0105 (5v) onto it, and used the relay contacts to connect to pin D3 on my nano.

      So i've got it operating that whenever the motion sensor is tripped it toggles my 1 channel relay board, but what isn't working is being able to manually switch it from in domoticz.

      Would someone be able to take a look at my code which i've taken from this thread

      My code is:

      /*
      DESCRIPTION
      Sketch for 1x relay with buttons bistable. After back power all relays set OFF and send correct status OFF to controller.
      */

      // Enable debug prints to serial monitor
      #define MY_DEBUG

      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69

      // Enabled repeater feature for this node
      #define MY_REPEATER_FEATURE

      #include <SPI.h>
      #include <MySensors.h>
      #include <Bounce2.h>

      // Define Relays
      #define RELAY_ON 1 // GPIO value to write to turn on attached relay
      #define RELAY_OFF 0 // GPIO value to write to turn off attached relay

      // Define Sensor ID's
      #define SSR_A_ID 1 // Id of the sensor child

      // Define buttons and relays
      const int buttonPinA = 3;
      const int relayPinA = 4;

      // Define Variables
      int oldValueA = 0;
      bool stateA = false;
      int trigger = 0;

      Bounce debouncerA = Bounce();

      MyMessage msgA(SSR_A_ID, V_STATUS);

      void setup()
      {

      pinMode(buttonPinA, INPUT_PULLUP); // Setup the button Activate internal pull-up

      // After setting up the buttons, setup debouncer
      debouncerA.attach(buttonPinA);
      debouncerA.interval(5);

      // Make sure relays are off when starting up
      digitalWrite(relayPinA, RELAY_OFF);
      // Then set relay pins in output mode
      pinMode(relayPinA, OUTPUT);

      /*--------------------- Added these lines for toggle switch-------------------------*/
      

      oldValueA = digitalRead(buttonPinA); // set oldValueA to the current status of the toggle switch
      // send(msgA.set(false)); // Send off state for relayA to ensure controller knows the switch is off
      // send(msgB.set(false)); // Send off state for relayB to ensure controller knows the switch is off

      }

      void presentation() {
      // Send the sketch version information to the gateway and Controller
      sendSketchInfo("Relay with Bistable", "1.1");

      // Register all sensors to gw (they will be created as child devices)
      present(SSR_A_ID, S_LIGHT);

      }

      /*
      Example on how to asynchronously check for new messages from gw
      */
      void loop()
      {
      if (trigger == 0){
      send(msgA.set(false)); // Send off state for relayA to ensure controller knows the switch is off
      trigger = 1;
      }

      debouncerA.update();
      // Get the update value
      int valueA = debouncerA.read();
      if (valueA != oldValueA) {
      // send(msgA.set(stateA ? false : true), true); // Send new state and request ack back
      send(msgA.set(stateA ? false : true), false); // Send new state with no request for ack
      stateA = stateA ? false : true; // invert the state
      digitalWrite(relayPinA, stateA ? RELAY_ON : RELAY_OFF); // toggle the relay
      oldValueA = valueA;
      }

      }

      void receive(const MyMessage &message) {
      // We only expect one type of message from controller. But we better check anyway.
      if (message.type == V_STATUS) {

      switch (message.sensor) {
        case 1:
          stateA = message.getBool();
          digitalWrite(message.sensor + 4, stateA ? RELAY_ON : RELAY_OFF);
          
          break;
        case 2:
      
          break;
      }
      
        // Write some debug info
      Serial.print("Incoming change for sensor:");
      Serial.println(message.sensor);
      Serial.print("from node:");
      Serial.println(message.sender);
      Serial.print(", New status: ");
      Serial.println(message.getBool());
      

      }
      }

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @pjr ok, can you explain Fine Offset protocol a little more please?

      posted in Hardware
      breimann
      breimann
    • RE: Multi Button Relay Sketch

      @korttoma love this sketch. Used it for a dual LED strip light controller for our loft where our kids sleep - daughter on one side and boys on the other, both with LED strips (RGB) i installed. This way we can turn them on or off remotely without having to climb up there!!

      Worked great. Thankyou for sharing.

      posted in Development
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Yveaux yes ok.

      Would it be possible for you to reply with dot points of the process you would go through to do it if i have an SDR?

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Yveaux 433MHz.

      Here's the back of the base station.

      alt text

      Sounds like yours was in the 800's?

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @Yveaux Hi there! Wow, yes your old weather station looks identical for sure which is pretty cool.

      I would much prefer to work out how to process and read the data transmitted from weather station rather than try to reverse engineer all the sensors and then install a mysensors node to feed them all to.

      Are you able to help me along the way if what i wanted to do is intercept the transmissions? How would i go about that to begin with?

      Any advice/tips/hints/resources are gratefully accepted.

      posted in Hardware
      breimann
      breimann
    • RE: Help with hacking a wireless outdoor weather station

      @blacey that link looks really interesting! Thankyou. Although i don't understand much of it!

      posted in Hardware
      breimann
      breimann
    • Help with hacking a wireless outdoor weather station

      Hi there, i've had this project in my mind for a while, but the other day my weather station stopped talking to it's LCD screen base station inside, so it was a good reason to climb the ladder onto the shed (my wife and 3 kids live in a shed on a 10 acre block (4 hectares)) and get it down.

      I discovered it was simply a battery issue, but took the opportunity to crack it open and see what was under the hood.

      It is a DIGITECH brand sold through Jaycar Electronics stores around Australia.

      alt text

      My questions relate to how i might best go about hacking this to include it into my mysensors network?

      I'm running Domoticz on a RPi 3 with a serial gateway.

      Wind Speed:
      The wind speed sensor with the 3 cups is just a reed switch and rare earth magnet.

      Wind Direction:
      Also uses reed switches x 4, but seems to have an SMD resistor of unknown value in some sort of voltage divider setup, with all reed switches set at 90 degrees to each other and a rare earth magnet in the top rotating bit. Then just feeds via 2 wires into the control board.

      Temp, humidity and pressure Sensor:
      Seems to be all in one on a little circuit board with a SMD IC. 4 wires. I'll post some photos.

      Controller:
      Runs on 2 x AA 1.5v batteries.

      Rain Sensor (quantity):
      Classic tipping one with rare earth magnet and reed switch on controller board.

      Any suggestions as to how i go about it? I would need to run it on 3 volts, and try to fit a pro mini and nrf inside which might be possible.

      Any suggestions / advice welcome.

      posted in Hardware
      breimann
      breimann
    • RE: Help hacking a LED outdoor security light motion sensor

      @AWI thanks a lot for this advice. very helpful.

      I could use a 5v pro mini, true, but wouldn't the power consumption be more?

      I also don't have any, just 3.3v ones, 8mhz.

      posted in Hardware
      breimann
      breimann
    • RE: Help hacking a LED outdoor security light motion sensor

      @AWI do you mean something like this?

      0_1479280272876_resister and zener divider.png

      where the 5v input is my 3.95v and I replace the zener with a 3v zener instead?

      If that's right, could you help me with calculating the value of the resister and the exact specs for the zener please?

      Thanks in advance.

      posted in Hardware
      breimann
      breimann
    • RE: Help hacking a LED outdoor security light motion sensor

      Thanks @AWI. Can you possibly send a little circuit diagram or a link to one like you are referring to?

      I was thinking of using an SMD 3.3v regulator but it seems like a bit of overkill and I'm trying to save on space as much as possible.

      posted in Hardware
      breimann
      breimann
    • Help hacking a LED outdoor security light motion sensor

      Hi there, love this community! You all rock!

      My topic relates to an outdoor LED security light i'm trying to turn into a node on my MYS network.

      I have 3 of them, they have a 6v battery pack on them, a pretty standard motion sensor and a high intensity LED. Also a 7v 1W solar panel to charge the battery.

      I measured the voltage that the sensor sends to the LED and it's 3.95volts.

      My question is this:

      I'm hoping to put a Pro Mini 3.3volt 8MHz inside plus a 1 channel relay board plus NRF.

      BUT

      **If I just directly send the motion sensor triggered voltage of 3.95volts to a digital input pin on the Pro Mini, would it blow something up since it's more than 3.3volts??
      **
      Thanks!

      posted in Hardware
      breimann
      breimann
    • RE: 💬 Distance Sensor

      Thanks @hek for your prompt reply. I went there and downloaded the "MySensorsArduinoExamples". I still can't seem to get "DistanceSensor" sketch to compile. It's still looking for NewPing.h even though it's in the directory!

      What am I missing?

      0_1475240351494_upload-e54e5fc0-bfc0-43ae-9f99-4d5cfcaea3ad

      posted in Announcements
      breimann
      breimann
    • RE: 💬 Distance Sensor

      Hi there, i've just got a couple JSN-SR04T distance ultrasonic sensors in the post today. Was excited to sit down and make up my first go at a distance sensor to measure our water tank level, but when i went in to the mysensors master directory to find the example sketch for distance sensor i couldn't find one. So i copied the one from https://www.mysensors.org/build/distance but this is an old version and when i complied it in the Arduino IDE i had an error come up not recognising "NewPing.h". Any pointers where to go from here please??

      posted in Announcements
      breimann
      breimann
    • RE: Selecting a motor

      Hi @stefaanv, just wondering how the automated chicken coop is going? Did you manage to get your holiday in and did you have a good break? How did the system perform?

      posted in My Project
      breimann
      breimann
    • RE: 💬 Door, Window and Push-button Sensor

      Is it possible to add multiple reed sensors to the one node? If so, can you just copy the basic code provided and paste it below that in the same sketch and change the arduino pins appropriately??

      posted in Announcements
      breimann
      breimann
    • RE: Serial Gateway freezes on Raspberry Pi's USB Port

      Thank you! That's helpful. When i get some more hardware in the mail I'll test it out.

      posted in Troubleshooting
      breimann
      breimann
    • RE: Serial Gateway freezes on Raspberry Pi's USB Port

      Hi Andre, I'm about to build a serial GW for my controller (Rasp Pi 3 running the latest build of Domoticz). I'm a little confused how the GW will practically interface with my controller however. Do i just plug the GW into one of my RPi's USB ports?? Is it as simple as that? Thanks for answering my "newbie" questions!!

      posted in Troubleshooting
      breimann
      breimann
    • RE: 💬 Building a WiFi Gateway using ESP8266

      Yes would this work with a Rasp Pi controller running Domoticz? Just connect over WIFI to the same network the Controller is connected to?

      posted in Announcements
      breimann
      breimann
    • RE: 💬 Building a Raspberry Pi Gateway

      Yes, can I use my Rasp Pi as a GW/Controller all in one? I have setup Domoticz on my Rasp Pi so could i do this and add an NRF??

      posted in Announcements
      breimann
      breimann
    • RE: Choosing the right Controller

      @sundberg84 Thank-you this is helpful info. Much appreciated.

      posted in General Discussion
      breimann
      breimann
    • Choosing the right Controller

      Hi there, im fairly new to all this and have been reading through the forum for the last few weeks. I'm expecting a RPi in the mail any week now, but i'm still not sure which controller I should go with. Should i choose PiDome or Domoticz?? Or DomotiGa?? I'd like to be able to have a good mobile interface on my Android (Samsung S7) phone, and i'm on a farm (4 hectares or 10 acres) so I'm hoping to be able to have sensors and actuators all over the property so need to be able to have fairly good range. Any tips / advice in terms of choosing the controller would be great. Also if you choose a controller and then decide you don't like it how hard is it to change later on?? Thanks!

      posted in General Discussion
      breimann
      breimann
    • Integrating a Particle Photon with MySensors

      Hi there, this is all pretty new to me, and this may be a silly question (or is any question silly??) but has anyone attempted or thought about integrating a particle photon or a cloud based board with mysensors? My reason for asking is i was thinking about using the geo sensing facility to automatically sense when you leave home so then your controller can run some away from home functions such as monitoring our water pump in case of a major leak and no one around to check it out. Hope that makes some sense??

      posted in General Discussion
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @stefaanv Sorry i've been busy fencing and planting trees last few days... this is a great cleaning system... although i'm planning to make a bit bigger coup so not sure how i can incorporate this but it looks fantastic. Great thinking!

      posted in My Project
      breimann
      breimann
    • RE: Free MySensors 2.0 workshop, Friday 9 September in Amersfoort (The Netherlands)

      @Daniel-Oliveira Brilliant idea! I live in rural Australia and it's so disappointing and frustrating seeing all these cool workshops i'd love to get to happening a "little bit" too far away...!

      posted in General Discussion
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @stefaanv
      That's helpful re type of camera.
      To shed light on your question re how chooks sleep on roosts in Australia... yes they do sleep upside down, a bit like a bat... but maybe bats don't sleep hanging upside down where you live?? 😉
      No, gravity unfortunately (fortunately) hasn't taken a holiday here, so if they tried sleeping upside down i'm afraid their blood would all drain to their brains!!

      posted in My Project
      breimann
      breimann
    • RE: Selecting a motor

      @stefaanv
      That's a really clever idea. Any possibility of getting some photos of the bottom of the shed sliding out and how that works? Cleaning chook yards is always a thankless task so anything that can be incorporated into the design before hand to help that would be fantastic.

      posted in My Project
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @stefaanv
      Love this recording. I love how you linked the recording to start 5 seconds before the door closes, and how you can see if there are eggs in your laying boxes and if the chooks are roosting!! Love it. Great thinking. What sort of camera are you using?

      posted in My Project
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @stefaanv
      Yes, google gets it right again... i'm in Australia, or South Australia to be a little more precise. Yep "chooks" is the commonly used word here for chickens.

      posted in My Project
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @stefaanv
      Solar Panel and Batteries
      I'm all for matrimonial peace keeping!!
      I'm just curious, why did you connect the INA219 DC current sensor directly to the battery and not the solar panel?

      posted in My Project
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @stefaanv
      Door mechanism and end of run contacts
      This is great info!
      A couple questions.

      1. Are you just using standard door hinges x 2 on the door on the outside?
      2. Is that a magnetic latch you have once it closes to stop a chook accidentally (or deliberately?? ;)) pushing against it?
      3. Did you buy the motor with the tube to fit inside it and bracket or did you fashion that yourself?
        Thankyou!
      posted in My Project
      breimann
      breimann
    • RE: Selecting a motor

      @stefaanv this is very very helpful. I really appreciate your detailed explanation. Obviously you have really thought it through and have tried various ways to "skin the cat" so to speak! Again, thankyou. In my case i'm looking at having around 6 chooks and our chook house will be a bit bigger. I'm also planning to make it big enough for one of us (my family - my wife, 3 kids) to go in there and clean it out etc. It will all be constructed out of recycled materials i've been salvaging. One thought i have is in terms of the door making it a sliding door possibly with some sort of latch to lock it?

      posted in My Project
      breimann
      breimann
    • RE: Solar Powered Soil Moisture Sensor

      @flopp
      Thank you for your reply. That's all helpful info.

      posted in My Project
      breimann
      breimann
    • RE: Solar Powered Soil Moisture Sensor

      @flopp
      I've been thinking along the same lines in terms of powering all my outdoor sensors with solar. Have you had a chance to try your ideas out yet? I'd be very interested in what you my have found. Should we start a new thread about that though? i'm very new to the forum so not sure (just joined tonight!).

      posted in My Project
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      @koen01 this sounds interesting. Any chance you could post a photo of your door system?

      posted in My Project
      breimann
      breimann
    • RE: Internet of Poultry - Fully automated chicken shed

      Hi @stefaanv i'm very new to mysensors but am awaiting some parcels to arrive to try my hand at a few things. First on the list is two water tank level sensors, but next will probably be our chook yard automation system. Love this project! It's inspired me to keep dreaming and designing. It would be really helpful to see a few more things in detail like what battery are you using, solar panel, and the door activation system. Also is there another way to do remote upload of sketches?

      posted in My Project
      breimann
      breimann