Open nexysm opened 6 years ago
Have the same troubles. Trying to run it on PI Zero W. Got changed different microSD cards. WEB UI is freezzing or not loading after CBP3 logo at all. UPD. For some other browsers UI is starting but the interface is not complete, some menus is missing, for example is not possible to add Boiling step in menu.
I have the simular problem when switching actors, to investigate a reason I use this solution:
gdb python (gdb) run run.py wait for error (gdb) backtrace stack trace of the c code
Then I repeated crash and got a 'Segmentation fault' reason in log - it is an error in C module
UPD. PC browser and stable WiFi connection make it more stable.
I have recently installed cbp3 and I am testing functionalities on the table. So, I have only one step in the HLT. When I start the step and then stop it, cbp3 hangs and I need to restart the app. If I do a few times start/stop of the heater it also hangs.
When it hands no control can take place. Editing hardware configuration works as well as surving the web interface. At that moment no lines are written in the app.log.
2018-09-30 20:42:16,379 - INFO - emitting event "SWITCH_ACTOR" to all [/brew] 2018-09-30 20:42:16,381 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SWITCH_ACTOR",{"config":{"gpio":"5"},"hide":0,"id":2,"instance":1,"name":"Pumpa HLT","power":100,"state":1,"type":"GPIOSimple"}] 2018-09-30 20:42:16,425 - INFO - READ TEMP 2018-09-30 20:42:20,535 - INFO - emitting event "SENSOR_UPDATE" to all [/brew] 2018-09-30 20:42:20,538 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SENSOR_UPDATE",{"config":{"offset":0,"sensor_name":"28-000009add7a4"},"hide":0,"id":1,"instance":{"unit":"\u00b0C","value":23.31},"mode":"P","name":"HLT","type":"ONE_WIRE_SENSOR"}] 2018-09-30 20:42:21,306 - INFO - READ TEMP 2018-09-30 20:42:24,775 - INFO - emitting event "SWITCH_ACTOR" to all [/brew] 2018-09-30 20:42:24,778 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SWITCH_ACTOR",{"config":{"gpio":"5"},"hide":0,"id":2,"instance":1,"name":"Pumpa HLT","power":100,"state":0,"type":"GPIOSimple"}] 2018-09-30 20:42:25,542 - INFO - emitting event "SENSOR_UPDATE" to all [/brew] 2018-09-30 20:42:25,545 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SENSOR_UPDATE",{"config":{"offset":0,"sensor_name":"28-000009add7a4"},"hide":0,"id":1,"instance":{"unit":"\u00b0C","value":23.31},"mode":"P","name":"HLT","type":"ONE_WIRE_SENSOR"}] 2018-09-30 20:42:26,186 - INFO - READ TEMP 2018-09-30 20:42:27,935 - INFO - emitting event "SWITCH_ACTOR" to all [/brew] 2018-09-30 20:42:27,938 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SWITCH_ACTOR",{"config":{"frequency":"0.1","gpio":"13"},"hide":0,"id":1,"instance":1,"name":"Grejac HLT","power":100,"state":0,"type":"GPIOPWM"}] 2018-09-30 20:42:28,340 - INFO - emitting event "SWITCH_ACTOR" to all [/brew] 2018-09-30 20:42:28,343 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SWITCH_ACTOR",{"config":{"frequency":"0.1","gpio":"13"},"hide":0,"id":1,"instance":1,"name":"Grejac HLT","power":100,"state":1,"type":"GPIOPWM"}] 2018-09-30 20:42:30,549 - INFO - emitting event "SENSOR_UPDATE" to all [/brew] 2018-09-30 20:42:30,551 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SENSOR_UPDATE",{"config":{"offset":0,"sensor_name":"28-000009add7a4"},"hide":0,"id":1,"instance":{"unit":"\u00b0C","value":23.38},"mode":"P","name":"HLT","type":"ONE_WIRE_SENSOR"}] 2018-09-30 20:42:30,869 - INFO - emitting event "SWITCH_ACTOR" to all [/brew] 2018-09-30 20:42:30,871 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SWITCH_ACTOR",{"config":{"frequency":"0.1","gpio":"13"},"hide":0,"id":1,"instance":1,"name":"Grejac HLT","power":100,"state":0,"type":"GPIOPWM"}] 2018-09-30 20:42:30,872 - INFO - emitting event "UPDATE_KETTLE" to all [/brew] 2018-09-30 20:42:30,875 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["UPDATE_KETTLE",{"agitator":"2","automatic":null,"config":{"off":"1","on":"1"},"heater":"1","id":1,"instance":null,"logic":"Hysteresis","name":"Hot Liquor","sensor":"1","state":false,"target_temp":25.0}] 2018-09-30 20:42:31,066 - INFO - READ TEMP 2018-09-30 20:42:34,896 - INFO - cb70021949b64073b4fb97e9afa6fe05: Received packet PING data None 2018-09-30 20:42:34,897 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet PONG data None 2018-09-30 20:42:35,555 - INFO - emitting event "SENSOR_UPDATE" to all [/brew] 2018-09-30 20:42:35,558 - INFO - cb70021949b64073b4fb97e9afa6fe05: Sending packet MESSAGE data 2/brew,["SENSOR_UPDATE",{"config":{"offset":0,"sensor_name":"28-000009add7a4"},"hide":0,"id":1,"instance":{"unit":"\u00b0C","value":23.31},"mode":"P","name":"HLT","type":"ONE_WIRE_SENSOR"}] 2018-09-30 20:42:35,946 - INFO - READ TEMP
Here is the log. I was just pressing buttons to activate and deactivate pump and heater and then it stopped. No answer to the last temp read.