8000 GitHub - disneysw/myenergi-Interceptor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

disneysw/myenergi-Interceptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Myenergi Intecepter

*** This is work in progress. Much of the code is not implemented yet !!!! ***

This project is designed for an ESP32 CYD (Cheap Yellow Display) development board which includes a OLED display. There are two versions of the board one with USB-C and another with a USB-B. The two are functionally equivalent but have slightly different connector placement. They may also have slightly different displays (Red or Green tab). I have a green tab board but you should be able to use the red tab types by changing a define in include.h.

The boards are available for about $16 from Amazon or AliExpress and use Wi-Fi to connect to your network.

The code will run on a plain ESP32 without a display by commenting out the "#define TFT_DISPLAY" in the include.h file.

The code is designed to act as a man-in-the-middle device between a Myenergi Hub and its server. Once installed it reads and decodes packets and will forward relevant information to MQTT allowing better integration with Home Assistant.

ESP32 CYD Image

Design Features

  • Low cost Man-in-the-middle data captur 76BC e for Myenergi devices allowing local integration with homeassistant
  • Local Access Point for configuration of WiFi
  • No hardware modification of Myenergi equipment required

Setup Instructions

  1. Clone the repository to your local machine.
  2. Open the project in Visual Studio Code/PlatformIO
  3. Connect the ESP32 CYD board to your computer via USB.
  4. This step is not currently required - "On first use you need to build a filesystem image (stuff in the data directory) and upload to the ESP32 (use the PlatformIO icon to see the menu options)"
  5. Then build and upload the code to the board using PlatformIO.
  6. After it is installed you can switch to using the Arduino OTA upload process by uncommenting/changing the options in the platformio.ini file
  7. The CYD boards can have slightly different displays which I think you can tell by a red or green tag on the screen cover. If the colors appear wrong on your display, try commenting out or deleting the "#define GREEN_TFT" in include.h
  8. Check the defines in include.h - uncomment the decodeSubPacketxxxx as necessary

Usage

  • On first powerup the system will create a local Access Point called "Myenergi-Intecepter"
  • Login using the password "passwordTest"
  • Optionally set your myenergi hub and server IP addresses
  • Select your WiFi and provide your password
  • The board will re-connect to your local network and display its IP address
  • Change the "cloud server" device on you Myenergi Hub to point to the IP address shown on the screen
  • Use the USB serial for debug info......
  • Home assistant stuff still to be coded!!!!!

Copyright

Copyright disneysw

Info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0