Hi.
I have a fresh installation of home assistant running on a Raspbian image.
It’s installed on my rip 3.
It’s working well. I have follow the installation guide on the web site using the virtual environment but
I have an issue to use my remote and my plug 433mhz.
In a terminal I can send and receive code. It’s ok.
I use rfsniffer and codesend command included in rpi_utils tools.
In my configuration.yaml I have added those lines :
Pluga appears on my homepage of home assistant but when i use it my plug don’t switch off/on.
It’s the same GPIO port and the same code as the terminal command line I have use just before.
If anyone can help me!
Thanks a lot and sorry for my English.
Eric
Transmitter and receiver are very closed. Around 5 cm.
If I use rpiutils tools it works nice.
It’s work at around 6-7 meters in my house.
But nothing with home assistant.
Where can I see the log file?
In developers tools on the left, I have no new issue.
it is a while ago for me that i set it up. But i can remember it had something to do with GPIO out permissions for the homeassistant user which had to be granted to these pinout.
Hi
Thanks for your answer.
I have read all the topic and try again but i face the same issue.
GPIO is exported as describe…
I dont understand what is wrong.
Is there a command line to launch home assistant with debug information.
Just to see if there is no probleme?
Thanks a lot
pi@pi:~ $ sh logging.sh
– Logs begin at Sun 2019-10-27 14:40:18 CET. –
oct. 27 14:46:33 pi hass[588]: 2019-10-27 14:46:33 INFO (SyncWorker_14) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281617]
oct. 27 14:47:30 pi hass[588]: 2019-10-27 14:47:30 INFO (SyncWorker_7) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281620]
oct. 27 14:47:32 pi hass[588]: 2019-10-27 14:47:32 INFO (SyncWorker_2) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281617]
oct. 27 14:48:22 pi hass[588]: 2019-10-27 14:48:22 INFO (SyncWorker_17) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281620]
oct. 27 14:48:24 pi hass[588]: 2019-10-27 14:48:24 INFO (SyncWorker_4) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281617]
oct. 27 15:44:32 pi hass[588]: 2019-10-27 15:44:32 INFO (MainThread) [homeassistant.components.updater] Submitted analytics to Home Assistant servers. Information submitted includes {}
oct. 27 15:44:32 pi hass[588]: 2019-10-27 15:44:32 INFO (MainThread) [homeassistant.components.updater] You are on the latest version (0.100.3) of Home Assistant
oct. 27 16:39:07 pi hass[588]: 2019-10-27 16:39:07 INFO (SyncWorker_3) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281620]
oct. 27 16:39:09 pi hass[588]: 2019-10-27 16:39:09 INFO (SyncWorker_5) [homeassistant.components.rpi_rf.switch] Sending code(s): [4281617]
oct. 27 16:41:10 pi hass[588]: 2019-10-27 16:41:10 INFO (MainThread) [homeassistant.components.websocket_api.http.connection.1730437680] Connection closed by client
Thanks for your answer.
I use the receiver on GPIO 22 and
the sender on GPIO26.
When i use my remote, I found the code
with rfsniffer command line.
This tools give me only the code received, not protocole or pulselenght.
It’s working very well and quit fast.
After that, I use codesend command line with the code received just after.
It’s ok, my electric plug switch between on/off.
I just send only the code.
So We can say that, codes are good. Sender and receiver works well on GPIO.
But On home assistant, i use the configuration file describe just under and my plug doesn’t work…