Arksine
16269c1a49
temperature_store: correctly handle subscribed diffs
...
When processing a status update, default the temperature and target to the last received value.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-29 14:12:23 -04:00
Arksine
279d53afde
moonraker: rework klippy state events
...
Emit specific events for each klippy state rather than one for all of them.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-16 18:08:41 -04:00
Arksine
6fb4cdca62
termperature_store: use klippy_apis module
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-15 14:19:19 -04:00
Arksine
43b057c40c
moonraker: klippy requests no longer take a "request method"
...
Klippy rpc methods now accept either GET or POST, the method will be executed.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-15 08:38:06 -04:00
Arksine
a7147a44ca
moonraker: refactor "make_request"
...
The make_request() method is now awaitable and returns the result directly vs the previous behavior of returning a request that was awaited.
There is no longer a need to check the result to see if it is an error, exceptions are raised if an error is detected.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-12 08:43:37 -04:00
Arksine
7cd22804dd
moonraker: replace legacy string interpolation with f-strings
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-11 14:28:41 -04:00
Arksine
0abfc76871
temperature_store: Add configparser support
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-11 08:38:28 -04:00
Arksine
d768a30d47
temperature_store: remove stale temperature sensors from the "last_temps" dict
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-04 11:32:42 -04:00
Arksine
1e018e9b92
temperature_store: directly request sensor data
...
Sensor information is no longer provided by the response to the "check_ready" remote procedure call. The temperature store now fetches the sensor data itself and sets up the subscription.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-31 08:42:07 -04:00
Arksine
d1c740b900
moonraker: add initial source
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-02 12:24:15 -04:00