Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/judasgutenberg/local_remote
A local remote client for the ESP8266-based remote control
https://github.com/judasgutenberg/local_remote
esp8266 esp8266-arduino json-client remote-control remote-monitoring
Last synced: 6 days ago
JSON representation
A local remote client for the ESP8266-based remote control
- Host: GitHub
- URL: https://github.com/judasgutenberg/local_remote
- Owner: judasgutenberg
- Created: 2024-04-23T01:57:31.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T00:56:00.000Z (8 days ago)
- Last Synced: 2024-11-08T01:39:20.495Z (8 days ago)
- Topics: esp8266, esp8266-arduino, json-client, remote-control, remote-monitoring
- Language: C++
- Homepage:
- Size: 351 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Local_Remote
This is a local remote client for the ESP8266-based remote control. It's basically doing what management from a web page would do, but it runs on much less powerful hardware. It also doesn't have to worry about authorization because the assumption is that if it has access to your WiFi network, you're giving it permission to manage the remote-control device on the local network specified by location_id (which refers to the device_id of the remote controller). I've written it to run on an ESP8266, though it could be made to work on any internet-capable Arduino board. It uses the two endpoints /readLocalData and /writeLocalData on a ESP8266 programmed with the Remote Controller software (https://github.com/judasgutenberg/Esp8266_RemoteControl) to locally change the on/off state of device_features. Such changes are sent back to the server.![alt text](localremote.jpg?raw=true)
This local remote uses a NodeMCU controller board (with ESP8266), a 20 by 4 line LCD display (with a YwRobot I2C backpack, with I2C address at decimal 27) and four pushbuttons as a user interface.
![alt text](local_remote_schematic.jpg?raw=true)The specific information about what is controlled is retrieved via JSON, and this can be scrolled through by a user to turn devices on and off.
The four buttons are mode, up, down, and change (aka switch). Mode allows you to switch the screen from checking on your energy data (from your solar panel and inverter, though for now all I support is SolArk inverters) to monitoring the weather data of some other ESP8266 on the local network to controlling the device_features on a remote controller (possibly a different one from the source of weather data). The up/down buttons are for moving up and down the scrolling display and the switch allows you to turn an on device off or an off device on.