Can I make web interface for hardware events?

Posted on
  • Hello everyone...
    I am new to this forum, I hope I can add more value here.

    I have a question regarding a project I am working on.
    I am developing a remote controller using an ESP8266 and interfacing with some simple electronics to my hardware I want to control. I want to interface with the user using a webpage obviously.
    In the beginning I started to do the development using the esplorer tool and lua scripting. But that was very not helpful and can't give me all the features I wanted. Then I found this amazing javascript interpreter that may give me what I need. So I have some questions for you guys.

    I want to control a wall-mounted device that controls my AC. The device has some interfacing buttons (power, fan, tempUp and tempDown).
    I want to make the device controlled by the web interface as well as the device interface itself.
    developing the webpage is easy and I could follow the tutorials easily. But is it possible to update the content of the web interface when a button is clicked? I mean if someone turned on the AC, when I go to the webpage I can see the status as "ON" and if someone changed the temperature I can keep track of how many times he clicked the button and update the temp variable in the controller?

    To sum up, I want to make the variables for the webpage controlled by the hardware as well as the user from the PC.

    BTW I made all the interfacing hardware and I just need to program my 8266.

    Thanks

  • P.S. I don't need to update the page while it is still open..

  • ...check this parallel conversation..., that's where the Keypad stuff keeps coming... (btw, you can edit posted entries).

    'Final', 'moduled' Keypad code is discussed (and available) in Keypad - bought or DIY - controlled directly by Espruino conversation.

  • Looks like the other thread has got all the posts in it. Shall I just kill this one?

    I think 'Interfacing' is ok for what you're asking,

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Can I make web interface for hardware events?

Posted by Avatar for MosabWadea @MosabWadea

Actions