Help needed with connecting MySensors node to Home Assistant
-
Re: Help needed with connecting MySensors node to Home Assistant
I got a lookalike problem. I see the serial GW (on UNO) in HA (homeassistant) on an RPi4.
I needed to connect it to ttyUSB0, not ttyMCA what seems to be standard?
Also 1 entity a battery comes up in HA.
I have 1 motion sensor connected to a NANO and loaded with standard MySensors example.
This gives on serial monitor output :
1:56:16.173 -> 56224 MCO:SLP:WUP=-1
11:56:16.173 -> 56226 TSF:TRI:TSB
11:56:16.173 -> 0
11:56:16.211 -> 56268 !TSF:MSG:SEND,5-5-0-0,s=1,c=1,t=16,pt=0,l=1,sg=0,ft=0,st=NACK:0
11:56:16.248 -> 56274 MCO:SLP:MS=120000,SMS=0,I1=1,M1=1,I2=255,M2=255
11:56:16.248 -> 56280 TSF:TDI:TSL
So seems to be okay to me.
When I connect both to my win 10 pc every motion is picked up by the GW.
But in HA it does not come up as entity.Anyone can give me some help please?
-
Hello, friend!
May be you need addition send in loop for HA, look at Presentaion
-
Thanks cabat, will try it out this weekend.
-
Hi2All!
Surprising is here. After about 24hours I refresh HA and suddenly my motion sensor was integrated.
There is also second entity > battery : 0 , have to look deeper into that for understanding.
Need to change little in the sketch, because don't want every short time 'no movement' so only when there is motion and maybe once a hour indication sensor is alive.
Meantime I found 3 other good threats:
https://forum.mysensors.org/topic/11200/finally-progress-evidence-based-radio-testing-method-and-capacitors
https://forum.mysensors.org/topic/1664/which-are-the-best-nrf24l01-modules/27
https://forum.mysensors.org/topic/9550/build-a-reliable-power-supply-chain
Very usefull for me also finally progress because of lacking time in the past.
Great jobs are done here!
Thanks for this all of you guys or girls!
Suggested Topics
-
Sensors db
My Project • 16 Apr 2014, 07:06 • Dvbit 16 Apr 2014, 17:37 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 2 Apr 2023, 10:43 • vivek101 2 Apr 2023, 21:21 -
Nrf5x on NodeManager
NodeManager • 9 Apr 2019, 14:26 • nullos 6 Nov 2020, 09:28 -
Compilation error
NodeManager • 19 Sept 2020, 15:41 • htaxil 18 Oct 2020, 09:37 -
SI7021 with Nodemanager
NodeManager • 30 Dec 2020, 14:15 • xlibor 1 Jan 2021, 20:20 -
Motion sensor node to always report not tripped state to reset controller value
NodeManager • 2 Feb 2022, 19:46 • nero01 2 Feb 2022, 19:46