When I look in the developer tool I can see switch.sonoff_nnnnnnnnnn, and it has several values in the attribute column. And it is these values I would like to read out. But I am to stupid to understand how! I have red and watched YT, but it doesn’t fall to place for me! Sorry! I’ll keep turning bulbs on and off…
There is no stupid questions here, we have all been where you are! Without help from others I wouldn’t have been able to get where I am today. That being did I have ALOT to learn still!
Ok, for my Sonoff sensors temperature if I go to
Developer Tools > States > in the Sensor.whatever_your_sonoff_is_called you should see a value for temperature there (near the bottom of the list.
Here’s mine, but note that I have changed the name of it so I can remember it easier!
Thanks for creating this but couldn’t find instructions to set it up.
I already installed it by manually copying the sonoff folder into custom components folders. (HACs was installed but it doesn’t show up in HA)
After installing the documentation talks about different config examples, but where do I enter those configurations?
I tried entering it in the services.yaml file on sonoff folder and configuration.yaml in the config folder, but it didn’t work.
After configuring it do I have to do anything else or I should see it in my home page of HA?
Hope someone can point in the right direction.
I can help with HACS not visible: do not forget to clear browser cache (in Chrome I have selected cookies and files and pictures in cache, not ony files and pictures). It looks like it was my solution. Now I can see HACS well in HA.
Update:
is seems to be there are some limitations in HA / HACS / SonOffLAN chain.
I just tried the same password in Android mobile app and it works well.
Update:
changing password to that with same length (16 chars) and with letters and numbers did the trick.
That is actually very sad.
Thank you but I deleted my cookies and cache but it didn’t work. I still can’t see HACS but I can see files installed in the custom components folder… So I don’t know what is going on.
To make sure I opened HA with Chrome for the first time and I still can’t see it.
At the documentation I read that I have to use this configuration to use it both on the cloud and locally, but the question is where should I write the config? As I said I tried in services.yaml file on sonoff folder and configuration.yaml in the config folder but still not working
I added this to the yaml file:
sonoff:
username: +910123456789
password: mypassword
mode: local
reload: always