Skip to content

RUN IOTRAFFIC

elRaulito edited this page Nov 18, 2020 · 2 revisions

Run the code

When the esp32-cam turns on it will generate its own wifi, the name is TrafficLightIoTraffic and the password is 12345678, after connecting open a browser and go to the page http://192.168.1.1 This page will appear:

dashboard

It is possible to change the timing of the traffic light with te touch bar shown. Before pressing Activate traffic light let's configure all the parameters (parameters are stored in Not volatile storage of ESP32 therefore you need to set everything only the first time), like the wifi

wifi

the address and the port of Keepy

keepy

The channel from which read the data, in this way the traffic light will read only the data that are correctly written into the tangle

detection

Now just press activate traffic light in the homepage and your hub will start to change the timing according to the data in the channel.

Clone this wiki locally