I have built a tool that bridges Mysa smart thermostats to MQTT, enabling integration with Home Assistant via MQTT auto-discovery. Hopefully this will be useful to others!
This looks amazing! I’m very new to HA, but one of my top to-do’s was pulling temperature data from my existing Mysa’s into automations of some window fans this summer. If I can pull in power data that’s even better!
Given that I’m new, the github readme is a bit over my head. I run HA on a bare metal x86 stick computer. Where would I run npm install -g mysa2mqtt ? I understand that I’ll need to set up an MQTT broker like mosquito, I’m just not sure where/how to install mysa2mqtt and create the .env file.
This is awesome, thanks so much! I’ve got the project loaded and the thermostat came up in HA right away. I am seeing one issue in that while status is displayed, the Mysa is not responsive to commands from HA. Here’s the log entry:
[20:13:33.662] DEBUG (mysa2mqtt/801): [mysa-js-sdk] Sending request to set device state for
My device is a BB-V2-0, and I see from your blog you mainly tested with V1 devices. If you can point me towards what data would be helpful, I’d be happy to help debug.
hey just found this topic yesterday and mysotherm repo that this is based.
I’ve put out this quickly as a first draft for an extension that use mysotherm to get and set state for Mysa natively (without homekit)
again this is a rough draft (created with Google antigravity and gemini so your mileage may vary ) that work with my Baseboard v2
I tought this could come handy for some here
Had to fix some library code from mysotherm mainly for dependencies
It’s working for now haven’t even look at the code done by gemini
First, contrary to some postings above, your implementation seems to be working fine for me. I’m running a v2-lite.
I know you wrote this to grab the energy data, but I’m interested in adding a function that doesn’t exist right now: resume schedule (and possibly hold until X time). I prefer to keep my schedule in the thermostat instead of using HA in case anything goes wrong with my HA instance.
Using the native app and watching with mysa2mqtt, I can see the commands, but not being a developer I have no idea how to extend what you’ve done. Any chance you’d be open to adding these features? I’m happy to feed you the info I have if it helps.
Also @Kgelinas I tried your version and found a couple of issues
it doesn’t support half degrees in C. If I adjust the setting to a half degree using your integration in HA, it only updates to the int value
it doesn’t respond to settings made elsewhere. I tried changing the setting using HA homekit, HA mqtt and the native app but none caused yours to update.
That’s amazing work! Just installed it and its working like a charm. I am willing to test any beta / features that would be useful on your end, I love my mysa thermostats and am so happy to see such an extensive integration developped. Cheers