@Boots33
Thanks a lot for the quick response.
I now have my Nano running as a serial gateway and it is connected via a USB cable directly to my controller (Raspberry Pi 4 running Home Assistant / Hass.io).
I added a local motion sensor to the Nano gateway HW and pasted the mysensors MotionSensor example code to the setup(), presentation() and loop() functions as well as to the definitions in the top of the GatewaySerial example code.
I disabled the radio definitions as I currently have no radio capability in my gateway (not sure if this was necessary).
In Home Assistant / Hass.io I updated the configuration.yaml with the following text (as described on the Home Assistant integration help):
mysensors:
gateways:
- device: '/dev/ttyUSB0'
And it works
In Home Assistant Developer Tools under States I can now see my motion sensor go on and off by the flick of my hand.
I had expected a bit more bumps on the road just to get this far, but wow - I am obviously walking in the foot prints of people who have worked hard to make it easy for the rest of us.
I am sure I will hit bumps on the way when the radios have to send results to the gateway (thick concrete walls with lots of steel), but for now I will enjoy this big success.
Thanks again Boots33
@KrisJacobs
Hi Kris.
I settled on domoticz pretty quickly. No complaints as yet. Am running it on a (free to me) HP mini with Ubuntu, but the pi documentation appears pretty thorough.
@markjgabb said in devices a long time away from controller.....:
do the devices have lease life times? where they may change there ID without warning...
As far as I am aware the node id's are persistent. You would need to manually delete the node on your controller to re allocate the id to a new node. So you should be ok with the node being away for extended periods of time.
can i create a node that does nothing but sleep unless one of 3 buttons on it is pushed?
Yes that is possible, you would need to use an interrupt for that.
@sundberg84 said:
Im using DomoFence for geofencing and webgui for other. Couldnt get the other app to work with geofence
I do have the geofencing in the Domoticz app somewhat working. My test scenario was to have a script that would close my garage door once I left the fence area. The problem I ran into was that when I would come home, it wouldn't register right away that I was inside the fence area, so when I would open my garage door, it would think I was outside the fence area and shut it right away. I think that might be an issue with the phone and not Domoticz.