Read the statement by Michael Teeuw here.
Home Assistant Sensor
-
@ChrisKelley did you change the config to .local??
Can you ping that from the MagicMirror system
i have grandson duty for 2 hours now
Then I will install that module -
Yep that works…
chris@MagicMirror:~ $ ping 10.10.28.134
PING 10.10.28.134 (10.10.28.134) 56(84) bytes of data.
64 bytes from 10.10.28.134: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 10.10.28.134: icmp_seq=2 ttl=64 time=0.032 ms
64 bytes from 10.10.28.134: icmp_seq=3 ttl=64 time=0.029 ms
64 bytes from 10.10.28.134: icmp_seq=4 ttl=64 time=0.062 ms
64 bytes from 10.10.28.134: icmp_seq=5 ttl=64 time=0.036 ms
64 bytes from 10.10.28.134: icmp_seq=6 ttl=64 time=0.035 ms
64 bytes from 10.10.28.134: icmp_seq=7 ttl=64 time=0.022 ms
64 bytes from 10.10.28.134: icmp_seq=8 ttl=64 time=0.022 ms
64 bytes from 10.10.28.134: icmp_seq=9 ttl=64 time=0.025 ms
64 bytes from 10.10.28.134: icmp_seq=10 ttl=64 time=0.025 mscode_text -
@ChrisKelley ping by name?
-
Yep sorry that makes more sense
chris@MagicMirror:~ $ ping homeassistant.local
PING homeassistant.local (10.10.28.211) 56(84) bytes of data.
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=1 ttl=64 time=2.91 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=2 ttl=64 time=3.81 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=3 ttl=64 time=4.07 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=4 ttl=64 time=3.88 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=5 ttl=64 time=1.18 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=6 ttl=64 time=3.95 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=7 ttl=64 time=4.10 ms
64 bytes from 10.10.28.211 (10.10.28.211): icmp_seq=8 ttl=64 time=1.52 ms -
@ChrisKelley no issue, it’s useful as we know it generates the same address
-
@ChrisKelley so I installed, did npm install in the module folder
here is my config , two sensors from my entities list in HAso now all I can think is your token string is bad…
{ module: 'MMM-homeassistant-sensors', position: 'top_left', classes: "page4", config: { host: "homeassistant.local", port: "8123", https: false, token: " my fresh token ", values: [ { sensor: "binary_sensor.athom_garage_door_status", }, { sensor: "sensor.foo_battery_percentage", }, ] } }, -
@sdetweil
Sam
Thank you for all the help… I tried deleting the token. I made a new token in HA and used that one still nothing… I deleted the module from MM and I will try again this afternoon. Which fork did you use for your test? There are at least two just want to make sure I use the same one as you did…
Thanks
Chris -
@ChrisKelley I used this one
-
SAM!!!
Thank You!! It works… I was using a different fork then the one you used… plus I think my sensor strings were malformed. but all good now!Thank You Again!
-
@ChrisKelley woohoo… great news… thanks for the feedback!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login