Comments (7)
Have you tried tcp://:61616 ? That the locator for the Artemis MQTT broker
from bms-to-inverter.
well, I'm using standard mosquitto mqtt broker installed on my home assistant environment and I don't want to use anything else.
Then it is using standard ports (established by IBM, mqtt inventor): 1883 for non-encrypted and 8883 for TLS encrypted traffic.
Every client I have is authenticating to the mqtt for security reasons, which I think is a standard nowadays, example Tasmota:
That is why I'm asking for such possibility...
from bms-to-inverter.
Adding the authentication for the Artemis MQ Broker would be no problem. But you would need to bridge between Artemis MQ to Mosquitto. So you need a client connecting to Artemis MQ to receive the BMS data and a producer to post to your Mosquitto broker on a topic/queue there.
Or you could have home assistant connect as a client directly to the Artemis MQ broker which would make things simpler.
from bms-to-inverter.
I guess for the integration to HomeAssistant it would be nice to configure (possible multiple) producers to post the BMS data directly to a MQTT broker. You would then need to create a HA configuration first to map the BMS data Json to a HA sensor. At least that's how I understand. I haven't used HA myself so I'm just guessing from the HA overview about connecting MQTT devices.
from bms-to-inverter.
don't bother with HA for the moment, leave it for later, but shortly: the integration is done through specific autodiscovery mqtt topics: https://www.home-assistant.io/integrations/mqtt/
Assuming there is standard MQTT client implementation then there should be no difference which server is used, am I right?
Then I still prefer to stick with lightweight mosquitto mqtt broker and not to add another heavy software package.
from bms-to-inverter.
Hi, I've added the support to supply a username and passwort now in the mqtt.producer configuration:
# The URL of the MQTT broker to send to
mqtt.producer.locator=tcp://127.0.0.1:61616
# The topic name on the MQTT broker to send to
mqtt.producer.topic=energystorage
# The username of the external MQTT broker to send to
mqtt.producer.username=guest
# The password on the external MQTT broker to send to
mqtt.producer.password=guest_pwd
This mqtt.producer configuration will now be used to connect to an external broker (like Mosquitto).
from bms-to-inverter.
I will close this ticket as I haven't heard any problems
from bms-to-inverter.
Related Issues (20)
- Growatt Inverter support via RS 485 / CAN HOT 52
- Webserver module HOT 23
- Growatt Hybrid high voltage / Pylontech BMS high voltage (powercube x1) / CAN HOT 103
- Not working normally HOT 9
- Latest code not working HOT 5
- Batteries with no content shown in the overview and webserver HOT 8
- JK BMS RS485 support HOT 2
- Building on PI4 HOT 4
- Outback Power Skybox Inverter BMS Canbus HOT 25
- Daly Growatt implementation imminent HOT 21
- waveshare CAN expansion hat compatibility HOT 1
- JK BMS RS485 doesn't work HOT 10
- BMS tab is empty HOT 18
- Raspberry Pi 5 compatibility HOT 2
- Hardware connection to the Growatt Inverter HOT 10
- Daly BMS - ttl HOT 7
- First time running with Daly TTL HOT 25
- Running on Windows HOT 7
- configuration issues HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bms-to-inverter.