Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By spy king
#36197 I am trying to create scaleable home IoT system for my self. I currently have my ESP running a simple socket server, and a bash script on my router for presence detection that triggers events when I enter my room. Over an above this, I use a python script as manual triggers from my PC.

I would hover like to have a web interface that is mobile friendly for a quick overview of the status that updates on any triggered event. To achieve this, I wanted to know of the figure below makes sense?

ESP_Block.png


I have currently implemented this, but am having trouble with sending a Websocket event using the attachInterupt function. It works fine for a few updates, but crashes after about 10 updates, leading me to believe that it doesn't play well with the interupts.

I will clean up my code and post it in the morning, but do let me know if I am heading in the right direction!
You do not have the required permissions to view the files attached to this post.