Skip to content
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

MQTT / mbusd gateway via Tasmota? #49

Closed
Maniac0Maniac opened this issue Jul 20, 2022 · 2 comments
Closed

MQTT / mbusd gateway via Tasmota? #49

Maniac0Maniac opened this issue Jul 20, 2022 · 2 comments

Comments

@Maniac0Maniac
Copy link

Question related to
Sunsynk / mbusd Home Assistant Add-On

Describe the issue
Hi KellerZA

I'm thinking of trying to replace my PI with an ESP device - It would be great and have loads of benefits. I considered trying to write my own code, but thought why re-invent the wheel? Did a quick google to see if Tasmota would be able to do something out of the box and I stumbled across these:

TCP Gateway - arendst/Tasmota#9586
MQTT Gateway - arendst/Tasmota#15703

I think they might have potential but honestly, don’t know where to begin. I don't have enough understanding of modbus, your addon, etc. (yet) to know if it's feasable. Think you can give them a quick once over?

If your verdict is that they have potential I'm happy to put in the time to see if we can add another deployment option.

@kellerza
Copy link
Owner

kellerza commented Jul 20, 2022

@Maniac0Maniac There is someone that built an MQTT gateway like this on Powerforum with ESPHome, but you are re-implementing the entire definitions file in ESPHome. It wont be as flexible, you won't have filters and its doubtful if/how you'll be able to write settings.

The TCP gateway could potentially work with this addon, so you could potentially look at this

I'm not such a big fan of Wifi for streaming telemetry data like this. It is intentionally polling very frequently in order to be responsive. And the golden rule for anything in my smarthome is no soldering. I've built my own Electric Imp boards in the past, but after a lightning strike I now buy ready made devices (and generally keep spares as well 😉)

My ideal setup would be a Home Assistant Server with this as gateway. Today I'm using a Pi Model B + USB adaptor to replicate the RS485 gateway, but it work flawlessly so far

@Maniac0Maniac
Copy link
Author

Maniac0Maniac commented Jul 20, 2022

Hi KellerZA

Ah! You make an excellent point that I missed. Wi-Fi streaming is probably not ideal especially if you're running automations off it. Guess my PI and RS485 converters are just getting tucked into the trunking as is!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants