Would be cool to be able to adjust the boiler temps using the buttons on the ESP32
Thanks!! Let me put it in
Should be possible if you add buttons to the GPIO pins and call the water heater service on button press
@zweckj otherwise there are two buttons on the T-Display that I think that you can use in code for actions.
Thanks again for the stellar job, Iām having lots of fun!
I created a couple of automations using a FP2 sensor to turn my LM on when Iām close to it during coffee time. Wonderful.
From today though, I have a serious show stopper. The main switch turns off by itself and the logbook doesnāt show anything triggering it. I disabled all automations and itās still happening. When I disable the integration, the issue goes away.
What could I be doing wrong? How can I debug it further? Iām not sure what exactly and why is turning the switch off.
Another minor issue: I donāt see the brew timer sensor working.
Thanks for your help!
On a different note (hence the different post), I see an integration with the Acaia lunar scale. Would it open the window of possibility to create our very own brew-by-weight implementation?
Hard to say. Enable debug logging and check your logs to see if you can find anything. Shot timer & brew active sensors only work when you set the host and your HA can reach your machine locally.
Not quite unfortunately. I did not (yet) find a way to stop the brewing without turning the machine off.
Thanks! Iāll look at the debug logs then. Yeah, I was wondering if stopping the brew was exposed.
Iām now getting this problem.
File "/config/custom_components/lamarzocco/switch.py", line 187, in async_turn_off
await self.entity_description.control_fn(self._lm_client, False)
File "/config/custom_components/lamarzocco/lm_client.py", line 99, in set_power
return await super().set_power(enabled)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/lmcloud/lmcloud.py", line 655, in set_power
if cloud_ok or bt_ok:
^^^^^
UnboundLocalError: cannot access local variable 'bt_ok' where it is not associated with a value
I tried deleting the integration and set it up again and I still get the error when I turn on/off the machine. Let me know how I can help further. Thanks!
Thatās a bug, but the fact you get there means something went wrong before. Is there anything in the debug logs shortly before that exception?
Does the machine turn on/off after that command?
Thanks Josef. This morning I enabled back the integration to check the logs and itās working perfectly fine. I enabled logs anyway to double check, but nothing is reported. It works. Iāll make sure to report back if it happens again with more logging.
I only have a couple of issues left:
- Thereās a big delay (few seconds) between turning on the machine which happens instantly and the machine reporting back to HA that itās been turned on and changing the state of the switch. I do not have a bluetooth gateway just yet (it would solve the issue right?)
- I canāt seem to be able to make the shot timer work.I set the correct up in the configuration. Itās very minor, but Iād love to change the Nanoleaf light effect when brewing, just for show
Again, thanks a lot for this work.
Edit: without anything specific I can think of that is triggering, the bt_on error is happening again. And then it was gone after few minutes. The machine does not turn on/off after the command if the error happens.
Yes, Bluetooth would probably solve the speed and not turning on/off problems. My guess is, that thereās something going on with your network, because that would explain both the command issues (it seems like your machine never gets the command from the cloud, thatās why you get to that exception) and your HA instance canāt properly connect to your machine (thatās why you donāt have the shot timer)
What sort of network problems would cause this? So I have somewhere to look. Machine and HA are on the same subnet and I can ping the machine from HA. Thanks.
Firewalls, PiHoles for example can cause issues
Thanks. I tried to disable pihole, but the issues persist.
Does your machine have a poor WiFi connection? Have you tried removing and re-adding it from your WiFi? If you turn off Bluetooth on your phone and try to turn the machine on/off via the LM app what happens?
Been getting this warning in the logs since the Gateway firmware update
2024-01-13 19:19:22.196 WARNING (MainThread) [lmcloud.lmlocalapi] Unknown websocket message: [{'Boilers': '[{"id":"SteamBoiler","isEnabled":true,"target":131,"current":49},{"id":"CoffeeBoiler1","isEnabled":true,"target":94.5,"current":36}]'}]
Machine has strong WiFi connection. Yeah, I tried removing and readding and the phone apps work reliably. Also, I just noticed the steam boiler always reports 0.
Iād love one day to be able to make the machine turn off by itself after a couple of minutes it pulled a shot if thereās no presence around it
Yeah 0 ist the fallback there. Your HA definitely canāt connect to your machine locally then and apparently LM cloud connection is also flakey then. As to why this happens I got no more ideas unfortunately youāre the only one with those issues atm