WIFI, MQTT, REST API added to Sensorbox-2 -- PLEASE TEST #1
Replies: 18 comments 14 replies
-
|
Additional info: Flash my firmware.bin: and again on: so both OTA0 and OTA1 parititons have the same version. Restore your backup: Flash your backup: |
Beta Was this translation helpful? Give feedback.
-
|
I solved two bugs: Fixed: |
Beta Was this translation helpful? Give feedback.
-
|
I flashed 613aad7 on both partitions through USB, but I have no idea whether is was successful, is there a way to check the current firmware version? |
Beta Was this translation helpful? Give feedback.
-
|
You should see a new device asking for a DHCP lease on your Access Point; if you surf to that ip address it shows you a screen with a.o. serialnr and firmware version. You should also see it present on your mDNS ; on linux do "avahi-browse -a" |
Beta Was this translation helpful? Give feedback.
-
|
By the way, did you follow the procedure to log your Sensorbox onto your wifi? |
Beta Was this translation helpful? Give feedback.
-
|
Well, the procedure implies you have a WiFi option on the evse screen, which is not there on the smartEVSE v2. I don't know if the WiFi is disabled by default, but otherwise I'd need to switch it on through serial or the like. |
Beta Was this translation helpful? Give feedback.
-
|
No, you can activate wifi on the Sensorbox-2 via the ESPtouch procedure or the USB procedure. Especially if your SmartEVSEv2 does not support wifi, it will bring you:
|
Beta Was this translation helpful? Give feedback.
-
|
We are talking SENSORBOX here, not SmartEVSE. |
Beta Was this translation helpful? Give feedback.
-
|
Ok thx for your efforts, Im working on some modifications so Ill be back here! |
Beta Was this translation helpful? Give feedback.
-
|
You might have noticed we released v2.1.0 ; thanks for your efforts! |
Beta Was this translation helpful? Give feedback.
-
|
On p1 telegrams the voltage is optional, it isnt of much value since its always around 230V. PF is not in there. |
Beta Was this translation helpful? Give feedback.
-
|
You are in luck, the P1 routine seems to detect the voltages per phase. I don't have a DSMR meter here so all the testing has to be done extensively by you; not only checking the values + their accuracy, but also if they are correctly announced in Home Assistant. I need you to test really good, since I don't want to bring out a crappy version of the Sensorbox firmware .... |
Beta Was this translation helpful? Give feedback.
-
|
If you have MQTT configured in HA, it will discover the Sensorbox outputs automatically, with the right unit (e.g. Ampéres or Volts) and multiplier (Volts, milliVolts etc.). The Volts are read into a float, its easy to publish in deciVolts but that would generate a lot of confusion. HA has poor documentation so no clue how to publish with one decimal. |
Beta Was this translation helpful? Give feedback.
-
|
I found a way, outside of HA, to publish the values as a string, which would make publishing with one decimal easy. |
Beta Was this translation helpful? Give feedback.
-
|
This version should publish with 1 decimal accuracy, especially anxious to see how this is interpreted in Home Assistant, please test: |
Beta Was this translation helpful? Give feedback.
-
|
I dont see the 1 decimal accuracy?! |
Beta Was this translation helpful? Give feedback.
-
|
Could you check if this version gives 1 decimal in HomeAssistant? |
Beta Was this translation helpful? Give feedback.
-
|
How about when you remove the device from HA and let it be re-discovered? |
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking for Sensorbox-2 users who are willing and able to test my new firmware version.
The new firmware version now also supports WiFi, MQTT, REST API, automatic time zone configuration, in fact pretty much everything I could take over from the SmartEVSE is now included. In addition, the "takeover" is designed in such a way that large parts of the code will be shared with the SmartEVSE, so that maintenance remains bearable.
This means that the Sensorbox-2 can also be used without a modbus connection to the SmartEVSE.
I only have one major problem: at my current location I do not have a 3x230V 50Hz grid available, which means I cannot test the core functionality.
3a59ad9c04.zip
(You can flash easily by going to http://ipaddress-of-your-sensorbox/update).
To configure wifi please look at the docs:
https://github.com/dingo35/Sensorbox-2/blob/master/docs/configuration.md
Beta Was this translation helpful? Give feedback.
All reactions