I’ve installed Home Assistants on virtual box with a coordinator (Sonof ZBDongle -E) in z2mqtt and a preflashed (with PTVO) CC2530 (GPIO P04). Everythin is setup and is working in the network.
Now I want to controll sth via the p04 on the cc2530. In my case an standard external switch like you can get on aliexpress. It has an trigger voltage of 3.0 volts. Wireing is done. Just need signal on P04 with the software.
This switch should (just for testing if it works), when launching HA automatically turn on and off in an intervall like 30sec off 2 sec on.
where do I have to start and what do I need. I read something about python and the config’s of HA and z2mqtt. And what about the automoation.yaml?
Unfortunately, the switch on the dashboard didn’t work and the relay on the router couldn’t be triggered.
For manual testing via the terminal with the command mosquitto_sub -h localhost -u user -P pass -t ‘devices/#’ (of course with my settings) unfortunately nothing.
Have I perhaps forgotten or overlooked a step somewhere or am I completely wrong?