Hi,
I want the my web page show IOT device1, device2, device3’s temperature in real time.
My though is create three topic iot:1, iot:2, iot3 for each device.
Then use push(transport, topic, event, payload) method so the chanel client in my webpage will got the temperature info and show them in real time.
But with this method, the iot devices will also received this messge right? How to avoide this?
The idea way of message flow should be
iot device -> Phx.Server -> java scipt chanel client.
Thanks