RS 1.3.0 + Home Assistant Integration Bugs?
Hello everyone.
I'm using RS 1.3.0 with an Home Assistant automation. And I maybe discovered 2 Bugs.
First, the ETA is not showing the correct time. It shows always the actual Time, not the Time when the print should be finished.
And second, my Server is running 24/7 and I only turn on or off the printer but the state of my printer is in Home Assistant always "ready" (sensor.blablabla_blabla_cond_text) or "on" (binary_sensor.blablabla_connected). Maybe these two sensors work only if the Server is shutdown?
Maybe these are no Bugs but just user mistakes?
Any suggestions?
Kind regards, Gurry.
I'm using RS 1.3.0 with an Home Assistant automation. And I maybe discovered 2 Bugs.
First, the ETA is not showing the correct time. It shows always the actual Time, not the Time when the print should be finished.
And second, my Server is running 24/7 and I only turn on or off the printer but the state of my printer is in Home Assistant always "ready" (sensor.blablabla_blabla_cond_text) or "on" (binary_sensor.blablabla_connected). Maybe these two sensors work only if the Server is shutdown?
Maybe these are no Bugs but just user mistakes?
Any suggestions?
Kind regards, Gurry.
Comments
{{ ((value_json.time/1000)+value_json.printTime-value_json.printedTimeComp) | int | timestamp_custom(\"%d.%m.%Y %H:%M\") }}
instead.
Make sure time zone is set correctly in Home Assistant. Probably main reason I did not register time was zero on my tests.
Regarding conditionText it is falsely returned Ready even if printer is offline. Will also be fixed in next release. The online variable in state/basics gets set 0 correctly, but the computation of the conditionText we added to make it easier to see human readable state did not check that case. Will also be fixed on next update.
One more question: Is it possible to integrade "Temperature Set" for Bed and Extruder?
These are my sensor entities I have... in total it's 17 entities with the buttons and so, but it should be at least 19 if the temp set sensors were available.
Where are you looking for the entities?
What does your yml definition for the view now look like?
https://i.imgur.com/Cv3JarG.jpg
https://i.imgur.com/6XuxBVe.jpg
https://i.imgur.com/fz4MksJ.jpg
https://i.imgur.com/qvCtkrX.jpg
And here the complete yml definition:
Please tell me if you need something else.
But it still good to know how to add manual entries. That way you add anything we currently do not offer or in a modified way.
For everyone who want to know how to add the states:
Go to your File editor and open the Sensor.yaml file. Add these lines to it:
You can fix the ETA bug the same way by yourself:
Replace the "*" with your ID and Printer Name and you should be good to go.
Kind regards, Gurry.
I wanted to ask you if this problem is already solved? I'm on Repetier Server 1.4.9 now and still have the problem that my printer is always in the state "ready" and the connection is always "on", regardless if the printer is on or off. If it is solved, then maybe I have something wrong in my settings?
Kind regards, Gurry.
Some boards have a jumper to disable that way. Alternatively you can disable 5v pin from usb cable to prevent powering vie usb, see last part of this faq entry:
https://www.repetier-server.com/knowledgebase/undervoltage-and-throtteling-of-pi/
After that disabling power will also show printer as disabled.
Thanks for your help.
Kind regards,
Guido.