Hi all
think I’m missing something here - I have installed the gateway on a RPi3 and everything is running fine as far as I can tell.
I’m trying to work out how I add a “device” that is controlled via the Pi itself. In this particular case I’m running pigpiod and some python RF433 scripts to control power sockets so they’re just sending on/off but I’d like to also receive on/off signals and sending/receiving analogue values locally on the Pi.
I suppose I could expose web url’s with some code based around WebThing (presume I’d need to run a local webservice for each “device”) but this seems like a long route to achieve this and it’ll just take more resources on the Pi. I can install Mosquitto if that’s a potential route (I will be doing this for ESP8266/32 devices anyway) but the MQTT adaptor doesn’t seems to be available out of the box (can anyone point to how to set this up?).
Is there anything (ideally python code) to create device for a (number of) LocalThing’s that are controlled locally on the Pi?
TheBlackSheep