-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ESP8266] MQTT discovery sets Manufactor file to value null #632
Comments
Same here, firmware version 0.5.78, on wmos D1 mini pro |
Well I think the allocated size of the jsondocument is too small for the data. So the json isn't big enough and some values are dropped. After shortening some data, like the inverter-name I get Homilies. |
Well an example discover msg looks like:
So the dev object has 105 byte, the whole msg is 336 byte in my example. Really too big? What about using the String class from the arduino runtime / stdlib and allocate strings more dynamically? |
In Zeile 149 von pubMqtt.h ist die Größe auf 128 begrenzt Ich kann das aber nicht compilieren und testen. In dem Beispiel von sker65 fehlt z.B. auch der Wert |
I think it was already solved with the most recent development versions, please verify that. |
I've tried the 0.5.81 and it does resolve the issue with mf set to null |
same for me |
Platform
ESP8266
Model name
HM-300
nRF24L01+ Module
nRF24L01+ plus
Antenna
circuit board
Power Stabilization
~100uF Elko
Connection diagram
Connection diagram I used:
Note: [*] GND Pin 1 has a square mark on the nRF24L01+ module
Connection picture
Version
0.5.66
Github Hash
release
Build & Flash Method
ESP Tools (flash)
Desktop
Windows
Setup
Device Host Name
WiFi
Inverter
Inverter 0
General
NTP Server
MQTT
System Config
Pinout (Wemos)
Radio (NRF24L01+)
Serial Console
Debug Serial Log output
Error description
A look in the source states that there should be "Hoymiles"
{
"name": "rechts YieldTotal",
"stat_t": "solar/rechts/ch0/YieldTotal",
"unit_of_meas": "kWh",
"uniq_id": "112171909775_ch0_YieldTotal",
"dev": {
"name": "rechts",
"ids": "112171909775",
"cu": "http://192.168.178.80",
"mf": null
},
"exp_aft": 65,
"dev_cla": "energy",
"stat_cla": "total_increasing"
}
The text was updated successfully, but these errors were encountered: