chaosnature
New Member
- Joined
- Sep 15, 2022
- Messages
- 520
In this case, a leading space has been left before 'mqtt:'. If you remove this, it should work correctly.The other issue which i am not sure if its a bug in the yaml code or not is
whenever we try to comment of remove the api settings and uncommenting the mqtt settings the substitution line kicks and error and therefore we cannot compile the code
View attachment 196682
View attachment 196683
View attachment 196684
I’m still running 1.16.4 on my M5 stack just for stability testing of the hardware, not using it to control the inverter. So far no issues or disconnects. I saw @Sleeper85 pulled the updated YAML in the thread above. Will test with inverter when new one is out.
Separately, just got a few more ESP32 dev boards to test out a project that can read voltage and send SOC over CAN from a Victron smart shunt. I need multiple batteries and this project has been a great learning experience.
Very well sported - that error is gone
would you happen to know why GPIO17/16 would not work with this ESP - the Bluetooth works. see ESP screenshot
View attachment 196692
View attachment 196693
Really thanks for your replies - But GPIO18/19 is not a TX/RX Channel - I cant see anything wrong with the cable, is there a test one can do....like we test for 60 ohms on the CAN to Inverter RX (which i have done and its 60 Ohms as expected)
?
View attachment 196696
Are you on Discord?In this case, a leading space has been left before 'mqtt:'. If you remove this, it should work correctly.
Really thanks for your replies - But GPIO18/19 is not a TX/RX Channel - I cant see anything wrong with the cable, is there a test one can do....like we test for 60 ohms on the CAN to Inverter RX (which i have done and its 60 Ohms as expected)
?
Are you on Discord?
Separately, just got a few more ESP32 dev boards to test out a project that can read voltage and send SOC over CAN from a Victron smart shunt. I need multiple batteries and this project has been a great learning experience.
Seems like another good project, going to give it a shot.Obtaining the SoC via a shunt (Victron or another) is a good idea and I was thinking of setting it up too.
Thanks i will flash using those ports and revert here...The ESP32 has 3 UARTs that you can assign to any pair of GPIOs see the ESPHome doc.
View attachment 196703
I've been thinking about different ways in which multiple BMS comms could be implemented, but it's likely that any real development would take place later this year.We really appreciate the dedication your guys put into these projects.... it's not really about the money anymore for me, it's just that drive to see something this technical working...and unless you are technical yourself you would not really appreciate the amount of work that has gone into this....just looking at the script will tell you more.
On that note, i would like to know if the Multi configuration ..i.e connecting Master /Slave was ever started...I saw a thread stating it was the next piece of work to join.
Plan is - Once I have this single point working I want to go into configuring my second battery in parallel...
regards
so my MQTT is ready and listeningAnyone knows how to get the mqtt configured for Batmon? below is what i have for my config..wondering if there is more to it and how to i get a dashboard for the Batmon?
View attachment 196698
Yup checked it...its the host nameso my MQTT is ready and listening
View attachment 196723
I have the below on the logs, not sure where its picking that host name from , thak looks like the HA hostname
View attachment 196724
i can do with some guildians , even willing to look at a youtube video if available ot another guild...i know this one is on me, i am missing out something.
Regards'
So i have tried the suggested GPIO still coming up with unknownHi All
any one know why we are getting all unknown values even though the CAN is o.k?
View attachment 196537
The Bluetooth code works - suggesting it has to be the GIO Pins wrong, i have tried 16/17 and 01/03 and even swapped them around.
please advise
I have logged 3 issues so far for the developers:
1. CAN wire showing unknown for Sensors that work in the Bluetooth Code
2. Incorrect Resistance calculated by the ESP code (correct in the BMS)
3. Substitution error when removing the esp api to replace with mqtt
hope we sort this out
thanks for the great work...
regards
So i have tried the suggested GPIO still coming up with unknown
Any Ideas??
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username
password: !secret mqtt_password
id: mqtt_client