Achronite / mqtt-energenie-ener314rt

MQTT interface for Energenie ENER314-RT add-on board for the Raspberry Pi, designed for use by Home Assistant.
MIT License
13 stars 5 forks source link

Baselined to node-red implementation of project #48

Closed genestealer closed 10 months ago

genestealer commented 10 months ago

Fully tested with eTRV (MIHO013), Smart Plug Plus (MIHO005) and Smart Monitor Plug (MIHO004). With a ENER314-RT in SPI mode, on a Raspberry Pi 4. Running NodeJS 16.

Summary of changes:

app.js

  1. Added extra text and link to repo.
    1. Formatted JS for improved readability.

1.json MIHO004

  1. Added "Friendly Names" for sensors.
  2. Added missing FREQUENCY and VOLTAGE.
  3. Rounded FREQUENCY image

2.json MIHO005

  1. Added "Friendly Names" for everything.
  2. Added missing FREQUENCY and VOLTAGE.
  3. Rounded FREQUENCY
  4. Added device class.
  5. Added payload and state values.
  6. Added diagnostic binary sensor to show the returned switch state. image

3.json MIHO013

  1. Added "Friendly Names" for everything.
  2. Added temp_step 0.5 for 1/2 degree temp steps
  3. Formatted for improved readability.
  4. Removed "icon":"mdi:battery" to enable device class to allow home assistant to show dynamic icon.
  5. Moved Maintenance and REPORTING_INTERVAL to Configuration category. image
Achronite commented 10 months ago

Just realised these changes are against the master branch. I stage all development on 'develop' first before merging into master upon packaged release. Happy for you to change it over, or I'll do it later.

genestealer commented 10 months ago

Just realised these changes are against the master branch. I stage all development on 'develop' first before merging into master upon packaged release. Happy for you to change it over, or I'll do it later.

Only took my second to change it over. Done.

genestealer commented 10 months ago

Will open new pull request for review