Open chiefymuc opened 4 months ago
Hi,
On Settings tab please enable all log levels and enable logfile also!
You should able to find the logs in the /data/data/com.seaky.nspanelpro.tools/logs
Just post here and I'll check what is going on.
Regards, Rob
OK here you go:
` 20:56:20.758 [main] TRACE c - Log level is VERBOSE 20:56:20.761 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:20.763 [main] TRACE d - k_b has been received 20:56:20.764 [main] TRACE f - event received 20:56:21.173 [main] TRACE c - V1 sensor triggered 1718650581172 20:56:21.176 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:21.179 [main] TRACE d - k_b has been received 20:56:21.182 [main] TRACE f - event received 20:56:21.536 [main] TRACE c - V1 sensor triggered 1718650581535 20:56:21.539 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:21.540 [main] TRACE d - k_b has been received 20:56:21.542 [main] TRACE f - event received 20:56:21.896 [main] TRACE c - V1 sensor triggered 1718650581895 20:56:21.899 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:21.900 [main] TRACE d - k_b has been received 20:56:21.902 [main] TRACE f - event received 20:56:22.257 [main] TRACE c - V1 sensor triggered 1718650582256 20:56:22.262 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:22.264 [main] TRACE d - k_b has been received 20:56:22.266 [main] TRACE f - event received 20:56:22.617 [main] TRACE c - V1 sensor triggered 1718650582616 20:56:22.621 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:22.624 [main] TRACE d - k_b has been received 20:56:22.626 [main] TRACE f - event received 20:56:22.977 [main] TRACE c - V1 sensor triggered 1718650582975 20:56:22.981 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:22.984 [main] TRACE d - k_b has been received 20:56:22.986 [main] TRACE f - event received 20:56:23.346 [main] TRACE c - V1 sensor triggered 1718650583344 20:56:23.353 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:23.358 [main] TRACE d - k_b has been received 20:56:23.362 [main] TRACE f - event received 20:56:23.772 [main] TRACE c - V1 sensor triggered 1718650583771 20:56:23.778 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:23.782 [main] TRACE d - k_b has been received 20:56:23.786 [main] TRACE f - event received 20:56:24.100 [main] TRACE MainActivity - BackStack:0 20:56:26.458 [main] TRACE c - Log level is VERBOSE 20:56:26.467 [main] TRACE LaunchApp - start 20:56:26.509 [main] TRACE LaunchApp - Start main 20:56:26.562 [main] TRACE LaunchApp - OnStart 20:56:26.641 [main] TRACE LaunchApp - OnResume 20:56:26.687 [main] TRACE AppService - Foreground service started 20:56:26.697 [main] TRACE f - register module v 20:56:26.702 [main] TRACE f - register module r 20:56:26.711 [main] TRACE f - register module k 20:56:26.716 [main] TRACE f - register module u 20:56:26.720 [main] TRACE f - register module s 20:56:26.726 [main] TRACE f - register module n 20:56:26.732 [main] TRACE f - register module d 20:56:26.736 [main] TRACE f - register module c 20:56:26.741 [main] TRACE f - register module q 20:56:26.746 [main] TRACE f - register module g 20:56:26.752 [main] TRACE f - register module t 20:56:26.759 [main] TRACE f - register module f 20:56:26.768 [main] TRACE f - register module d 20:56:26.772 [main] TRACE f - register module e 20:56:26.778 [main] TRACE f - register module i 20:56:26.782 [main] TRACE f - register module j 20:56:26.786 [main] TRACE f - register module a 20:56:26.791 [main] TRACE f - register module m 20:56:26.798 [main] TRACE j - register preference listener 20:56:26.802 [main] TRACE j - created 20:56:26.805 [main] TRACE e - register preference listener 20:56:26.809 [main] TRACE e - created 20:56:26.813 [main] TRACE i - register preference listener 20:56:26.817 [main] TRACE i - created 20:56:26.820 [main] TRACE t - register preference listener 20:56:26.824 [main] TRACE t - created 20:56:26.828 [main] TRACE u - register preference listener 20:56:26.832 [main] TRACE u - created 20:56:26.835 [main] TRACE f - register preference listener 20:56:26.838 [main] TRACE f - created 20:56:26.842 [main] TRACE q - register preference listener 20:56:26.845 [main] TRACE q - created 20:56:26.849 [main] TRACE d - register preference listener 20:56:26.857 [main] TRACE d - use deviceid as devicename 20:56:26.881 [main] TRACE d - created 20:56:26.884 [main] TRACE a - register preference listener 20:56:26.886 [main] TRACE a - created 20:56:26.890 [main] TRACE r - created 20:56:26.894 [main] TRACE n - created 20:56:26.898 [main] TRACE m - register preference listener 20:56:26.901 [main] TRACE m - created 20:56:26.905 [main] TRACE s - register preference listener 20:56:26.916 [main] TRACE s - Audio loaded 20:56:26.919 [main] TRACE s - created 20:56:26.922 [main] TRACE c - register preference listener 20:56:26.928 [main] TRACE c - created 20:56:26.932 [main] TRACE g - created 20:56:26.935 [main] TRACE d - register preference listener 20:56:26.948 [main] TRACE d - created 20:56:26.953 [main] TRACE v - created 20:56:26.956 [main] TRACE k - created 20:56:26.962 [main] TRACE e - Dream receiver registered 20:56:26.965 [main] TRACE e - started 20:56:26.968 [main] TRACE f - started 20:56:26.971 [main] TRACE q - alarms are turned off 20:56:26.980 [main] TRACE q - started 20:56:26.985 [main] TRACE d - AlarmReceiver registered 20:56:26.989 [main] TRACE d - Connecting {tcp://homeassistant.fritz.box:1883} as {nspanelproB1718650586988} 20:56:27.023 [main] TRACE d - Do Real connect! 20:56:27.031 [main] TRACE d - Initiate MQTT connection 20:56:27.035 [main] TRACE d - Send event CONNECTING 20:56:27.038 [main] TRACE d - started 20:56:27.049 [main] TRACE r - Smatek gesture receiver registered 20:56:27.052 [main] TRACE r - started 20:56:27.056 [main] TRACE n - Screen receiver registered 20:56:27.059 [main] TRACE n - started 20:56:27.061 [main] TRACE c - started 20:56:27.064 [main] TRACE k - c start register 20:56:27.085 [main] TRACE c - sensor registered (trigger threshold:1200) 20:56:27.088 [main] TRACE k - c started 20:56:27.093 [main] TRACE k - started 20:56:27.096 [main] TRACE AppService - started 20:56:27.099 [main] TRACE AppService - Event handlers registered 20:56:27.103 [main] TRACE AppService - Service created 20:56:27.110 [main] TRACE l - get NSPanelTools:DeepSleepLock wakelock 20:56:27.114 [main] TRACE l - acquire NSPanelTools:DeepSleepLock wakelock 20:56:27.117 [main] TRACE AppService - Intent is null, service restarted by system 20:56:27.120 [main] TRACE AppService - Service started 20:56:27.132 [main] TRACE LaunchApp - OnPause 20:56:27.154 [main] TRACE c - V1 sensor triggered 1718650587153 20:56:27.399 [main] TRACE MainActivity - check permissions 20:56:27.402 [main] TRACE MainActivity - Permission check: 27 20:56:27.423 [main] TRACE MainActivity - Permissions are granted. Good to go! 20:56:27.438 [MQTT Call: nspanelproB1718650586988] TRACE c - connect success! 20:56:27.444 [MQTT Call: nspanelproB1718650586988] TRACE d$i - connected 20:56:27.449 [MQTT Call: nspanelproB1718650586988] TRACE d$i - Send event CONNECTED 20:56:27.471 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/sensor/nspanelpro/nspanelpro3095871aa296_1/config with payload(505):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"name":"IP Address","object_id":"nspanelpro3095871aa296_ip_address","unique_id":"3095871aa296_1","availability_topic":"nspanelpro\/nspanelpro3095871aa296\/status","entity_category":"diagnostic","state_topic":"nspanelpro\/nspanelpro3095871aa296\/state\/ip_address","value_template":"{{ value_json.ip_address }}"} 20:56:27.484 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/event/nspanelpro/nspanelpro3095871aa296_2/config with payload(409):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:hand-wave","name":"proximity","object_id":"nspanelpro3095871aa296_proximity","unique_id":"3095871aa296_2","event_types":["triggered"],"state_topic":"nspanelpro\/nspanelpro3095871aa296\/event\/proximity"} 20:56:27.497 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/event/nspanelpro/nspanelpro3095871aa296_3/config with payload(444):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:gesture-tap","name":"touch","object_id":"nspanelpro3095871aa296_touch","unique_id":"3095871aa296_3","event_types":["tap","swipe_up","swipe_down","swipe_left","swipe_right"],"state_topic":"nspanelpro\/nspanelpro3095871aa296\/event\/touch"} 20:56:27.508 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/event/nspanelpro/nspanelpro3095871aa296_4/config with payload(402):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:power","name":"device","object_id":"nspanelpro3095871aa296_device","unique_id":"3095871aa296_4","event_types":["wake_up","sleep"],"state_topic":"nspanelpro\/nspanelpro3095871aa296\/event\/device"} 20:56:27.519 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/event/nspanelpro/nspanelpro3095871aa296_5/config with payload(437):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:lightbulb-on-80","name":"light","object_id":"nspanelpro3095871aa296_light","unique_id":"3095871aa296_5","event_types":["light_below","light_above","light_undefined"],"state_topic":"nspanelpro\/nspanelpro3095871aa296\/event\/light"} 20:56:27.532 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/button/nspanelpro/nspanelpro3095871aa296_6/config with payload(423):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:trumpet","name":"wakeup","object_id":"nspanelpro3095871aa296_wakeup","unique_id":"3095871aa296_6","command_template":"{\"command\": \"wake_up\" }","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/device"} 20:56:27.542 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/button/nspanelpro/nspanelpro3095871aa296_7/config with payload(417):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:sleep","name":"sleep","object_id":"nspanelpro3095871aa296_sleep","unique_id":"3095871aa296_7","command_template":"{\"command\": \"sleep\" }","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/device"} 20:56:27.549 [main] TRACE MainActivity - onStart 20:56:27.554 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/button/nspanelpro/nspanelpro3095871aa296_8/config with payload(461):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"device_class":"restart","icon":"mdi:restart-alert","name":"reboot (3x)","object_id":"nspanelpro3095871aa296_reboot_3x","unique_id":"3095871aa296_8","command_template":"{\"command\": \"reboot\" }","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/device"} 20:56:27.554 [main] TRACE MainActivity - onResume 20:56:27.562 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/button/nspanelpro/nspanelpro3095871aa296_9/config with payload(425):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:apps","name":"launcher","object_id":"nspanelpro3095871aa296_launcher","unique_id":"3095871aa296_9","command_template":"{\"command\": \"launcher\" }","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/device"} 20:56:27.568 [main] TRACE c - V1 sensor triggered 1718650587567 20:56:27.574 [main] TRACE f - event received 20:56:27.574 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/button/nspanelpro/nspanelpro3095871aa296_10/config with payload(427):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:spider","name":"enable adb","object_id":"nspanelpro3095871aa296_enable_adb","unique_id":"3095871aa296_10","command_template":"{\"command\": \"adb\" }","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/device"} 20:56:27.580 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:27.584 [main] TRACE d - k_b has been received 20:56:27.587 [main] TRACE f - event received 20:56:27.591 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:27.593 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/switch/nspanelpro/nspanelpro3095871aa296_11/config with payload(547):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:toggle-switch","name":"switch 1","object_id":"nspanelpro3095871aa296_switch_1","unique_id":"3095871aa296_11","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/switch_1","optimistic":true,"payload_off":"{\"state\": \"off\" }","payload_on":"{\"state\": \"on\" }","state_topic":"nspanelpro\/nspanelpro3095871aa296\/state\/switch_1"} 20:56:27.593 [main] TRACE d - k_b has been received 20:56:27.604 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/switch/nspanelpro/nspanelpro3095871aa296_12/config with payload(547):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"icon":"mdi:toggle-switch","name":"switch 2","object_id":"nspanelpro3095871aa296_switch_2","unique_id":"3095871aa296_12","command_topic":"nspanelpro\/nspanelpro3095871aa296\/command\/switch_2","optimistic":true,"payload_off":"{\"state\": \"off\" }","payload_on":"{\"state\": \"on\" }","state_topic":"nspanelpro\/nspanelpro3095871aa296\/state\/switch_2"} 20:56:27.618 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/sensor/nspanelpro/nspanelpro3095871aa296_13/config with payload(506):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"name":"Started at","object_id":"nspanelpro3095871aa296_started_at","unique_id":"3095871aa296_13","availability_topic":"nspanelpro\/nspanelpro3095871aa296\/status","entity_category":"diagnostic","state_topic":"nspanelpro\/nspanelpro3095871aa296\/state\/started_at","value_template":"{{ value_json.started_at }}"} 20:56:27.637 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:homeassistant/sensor/nspanelpro/nspanelpro3095871aa296_14/config with payload(542):{"device":{"identifiers":["3095871aa296"],"manufacturer":"Sonoff","model":"NSPanel Pro","name":"nspanelpro3095871aa296","sw_version":"px30_evb-userdebug 8.1.0 OPM8.190605.003 173558 test-keys"},"name":"Scheduled reboot at","object_id":"nspanelpro3095871aa296_scheduled_reboot_at","unique_id":"3095871aa296_14","availability_topic":"nspanelpro\/nspanelpro3095871aa296\/status","entity_category":"diagnostic","state_topic":"nspanelpro\/nspanelpro3095871aa296\/state\/scheduled_reboot_at","value_template":"{{ value_json.scheduled_reboot_at }}"} 20:56:27.643 [MQTT Call: nspanelproB1718650586988] TRACE d - Send ACTION_ALARM_DIAGNOSTIC intent 20:56:27.647 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/status with payload(6):online 20:56:27.660 [MQTT Call: nspanelproB1718650586988] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/state/started_at with payload(40):{"started_at":"2024-06-17T20:56:26.982"} 20:56:27.674 [MQTT Call: nspanelproB1718650586988] TRACE c - subscribed to topic: nspanelpro/nspanelpro3095871aa296/command/device 20:56:27.685 [MQTT Call: nspanelproB1718650586988] TRACE c - subscribed to topic: nspanelpro/nspanelpro3095871aa296/command/switch_1 20:56:27.689 [MQTT Call: nspanelproB1718650586988] TRACE c - subscribed to topic: nspanelpro/nspanelpro3095871aa296/command/switch_2 20:56:27.693 [MQTT Call: nspanelproB1718650586988] TRACE d - Subscribed to MQTT commands 20:56:28.118 [main] TRACE c - V1 sensor triggered 1718650588117 20:56:28.184 [main] TRACE MainActivity - Main switch is on 20:56:28.208 [main] TRACE d$b - ACTION_ALARM_DIAGNOSTIC received 20:56:28.215 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/state/ip_address with payload(32):{"ip_address":"192.168.178.149"} 20:56:28.218 [main] TRACE d$b - Diagnostic sent 20:56:28.225 [main] TRACE d$b - AlarmDiagnostic is set to:2024-06-18T20:56:28.221 20:56:28.357 [main] TRACE f - event received 20:56:28.361 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:28.364 [main] TRACE d - k_b has been received 20:56:28.405 [main] TRACE l - already acquired NSPanelTools:DeepSleepLock wakelock 20:56:28.416 [main] TRACE AppService - Service started 20:56:28.504 [main] TRACE c - V1 sensor triggered 1718650588502 20:56:28.512 [main] TRACE f - event received 20:56:28.520 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:28.528 [main] TRACE d - k_b has been received 20:56:28.909 [main] TRACE c - V1 sensor triggered 1718650588907 20:56:28.916 [main] TRACE f - event received 20:56:28.929 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:28.935 [main] TRACE d - k_b has been received 20:56:29.280 [main] TRACE c - V1 sensor triggered 1718650589279 20:56:29.287 [main] TRACE f - event received 20:56:29.296 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:29.301 [main] TRACE d - k_b has been received 20:56:29.682 [main] TRACE c - V1 sensor triggered 1718650589680 20:56:29.691 [main] TRACE f - event received 20:56:29.700 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:29.704 [main] TRACE d - k_b has been received 20:56:29.810 [main] TRACE MainActivity - BackStack:0 20:56:30.126 [main] TRACE c - V1 sensor triggered 1718650590125 20:56:30.152 [main] TRACE f - event received 20:56:30.160 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:30.163 [main] TRACE d - k_b has been received 20:56:30.505 [main] TRACE c - V1 sensor triggered 1718650590503 20:56:30.510 [main] TRACE f - event received 20:56:30.517 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:30.521 [main] TRACE d - k_b has been received 20:56:30.870 [main] TRACE c - V1 sensor triggered 1718650590869 20:56:30.874 [main] TRACE f - event received 20:56:30.877 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:30.880 [main] TRACE d - k_b has been received 20:56:31.233 [main] TRACE c - V1 sensor triggered 1718650591232 20:56:31.236 [main] TRACE f - event received 20:56:31.240 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:31.243 [main] TRACE d - k_b has been received 20:56:31.600 [main] TRACE c - V1 sensor triggered 1718650591599 20:56:31.603 [main] TRACE f - event received 20:56:31.607 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:31.609 [main] TRACE d - k_b has been received 20:56:32.050 [main] TRACE c - V1 sensor triggered 1718650592049 20:56:32.053 [main] TRACE f - event received 20:56:32.057 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:32.059 [main] TRACE d - k_b has been received 20:56:32.417 [main] TRACE c - V1 sensor triggered 1718650592416 20:56:32.421 [main] TRACE f - event received 20:56:32.425 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:32.428 [main] TRACE d - k_b has been received 20:56:32.772 [main] TRACE c - V1 sensor triggered 1718650592771 20:56:32.778 [main] TRACE f - event received 20:56:32.781 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:32.784 [main] TRACE d - k_b has been received 20:56:33.202 [main] TRACE c - V1 sensor triggered 1718650593200 20:56:33.206 [main] TRACE f - event received 20:56:33.211 [main] TRACE c - published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 20:56:33.215 [main] TRACE d - k_b has been received 20:56:33.428 [main] TRACE MainActivity - BackStack:0
`
ohh f..ck the filelog does not contains the crash log sorry could you please post the adb logcat log.
adb shell "ps -A | grep com.seaky.nspanelpro"
adb logcat -d --pid=<pid>
the second value of the result is the pid
the second value of the result is the pid
No problem here you go:
` 06-17 22:00:50.255 5128 5128 I d : k_b has been received 06-17 22:00:50.636 5128 5128 D c : V1 sensor triggered 1718654450635 06-17 22:00:50.642 5128 5128 D f : event received 06-17 22:00:50.654 5128 5128 V c : published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 06-17 22:00:50.659 5128 5128 I d : k_b has been received 06-17 22:00:51.112 5128 5128 D c : V1 sensor triggered 1718654451111 06-17 22:00:51.118 5128 5128 D f : event received 06-17 22:00:51.127 5128 5128 V c : published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 06-17 22:00:51.133 5128 5128 I d : k_b has been received 06-17 22:00:51.522 5128 5128 D c : V1 sensor triggered 1718654451521 06-17 22:00:51.528 5128 5128 D f : event received 06-17 22:00:51.539 5128 5128 V c : published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 06-17 22:00:51.546 5128 5128 I d : k_b has been received 06-17 22:00:51.929 5128 5128 D c : V1 sensor triggered 1718654451929 06-17 22:00:51.931 5128 5128 D f : event received 06-17 22:00:51.935 5128 5128 V c : published to topic:nspanelpro/nspanelpro3095871aa296/event/proximity with payload(26):{"event_type":"triggered"} 06-17 22:00:51.939 5128 5128 I d : k_b has been received 06-17 22:00:51.955 5128 5148 I [Gralloc]: Got handle 3 for fd 70 06-17 22:00:51.955 5128 5148 I [Gralloc]: leave, w : 480, h : 480, format : 0x1,internal_format : 0x1, usage : 0xb00. size=921600,pixel_stride=480,byte_stride=1920 06-17 22:00:51.955 5128 5148 I [Gralloc]: leave: prime_fd=70,share_attr_fd=78 06-17 22:00:51.973 5128 5148 I [Gralloc]: Got handle 4 for fd 80 06-17 22:00:51.973 5128 5148 I [Gralloc]: leave, w : 480, h : 480, format : 0x1,internal_format : 0x1, usage : 0xb00. size=921600,pixel_stride=480,byte_stride=1920 06-17 22:00:51.973 5128 5148 I [Gralloc]: leave: prime_fd=80,share_attr_fd=81 06-17 22:00:51.991 5128 5128 D MainActivity: BackStack:0 06-17 22:00:52.115 5128 5128 D AndroidRuntime: Shutting down VM --------- beginning of crash 06-17 22:00:52.116 5128 5128 E AndroidRuntime: FATAL EXCEPTION: main 06-17 22:00:52.116 5128 5128 E AndroidRuntime: Process: com.seaky.nspanelpro.tools, PID: 5128 06-17 22:00:52.116 5128 5128 E AndroidRuntime: java.lang.SecurityException: Permission Denial: not allowed to send broadcast com.smatek.show.navigationbar from pid=5128, uid=10058 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2013) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1959) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.app.IActivityManager$Stub$Proxy.broadcastIntent(IActivityManager.java:4491) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.app.ContextImpl.sendBroadcast(ContextImpl.java:970) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:437) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at v0.w.e(Unknown Source:44) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.support.v7.preference.Preference.a(Unknown Source:4) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at v0.x.K(Unknown Source:91) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.support.v7.preference.b.t(Unknown Source:59) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.j.b0(Unknown Source:411) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.u.b(Unknown Source:213) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.u.j(Unknown Source:93) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.j.P(Unknown Source:357) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.j.h0(Unknown Source:88) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.j.O(Unknown Source:74) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at k.j$a.run(Unknown Source:2) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 06-17 22:00:52.116 5128 5128 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)
`
uuups I see I have to check
I have to add, I did follow Blakkader Tutorial: https://blakadder.com/t6e-sideload/ and https://blakadder.com/android-panel-webview/
So I have the J Touch App installed and webview and Home Assistant App, as well as Xposed Framework.
Do you have navigation bar on T6E by default?
Right now there is no navigation bar.
I think there was no navigation bar when it came out of the box, but I am not completely sure.
In Blakkadder video there is no navigation bar: https://www.youtube.com/watch?v=AnvBs8Vuo2o
I found the issue. You turned on the "navigation bar" feature, which causes the crash on T6E due to the lack of the proper rights. You can turn it of by manually in the preference file to get back the tools fragment.
1.) adb root
2.) adb pull /data/user/0/com.seaky.nspanelpro.tools/shared_prefs/com.seaky.nspanelpro.tools_preferences.xml
3.) change navigation-bar-on-gesture
to false
4.) adb push com.seaky.nspanelpro.tools_preferences.xml /data/user/0/com.seaky.nspanelpro.tools/shared_prefs/com.seaky.nspanelpro.tools_preferences.xml
Hmm it seems like it is already false
Here is the file:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="wake-from-screensaver" value="true" />
<boolean name="scheduled-reboot" value="false" />
<boolean name="wake-on-wave" value="true" />
<string name="launch-app">io.homeassistant.companion.android</string>
<boolean name="launch-app-wait" value="true" />
<boolean name="screen-on-time" value="false" />
<string name="mqtt-host">homeassistant.fritz.box</string>
<string name="mqtt-password">xxxx</string>
<boolean name="brightness-above-active" value="false" />
<string name="mqtt-publish">proximity|wake-up|tap</string>
<boolean name="audio-feedback" value="true" />
<string name="mqtt-username">mqttmosquitto</string>
<string name="hostname">smart >> out/target/product/px30_evb/vendor/build.prop; echo hub</string>
<boolean name="resume-on-boot" value="true" />
<string name="wake-on-gesture">tap</string>
<string name="mqtt-host-port">1883</string>
<boolean name="mqtt-enabled" value="true" />
<string name="mqtt-ha-topic-prefix">homeassistant</string>
<boolean name="debug" value="true" />
<boolean name="logfile" value="true" />
<boolean name="active" value="true" />
<string name="screen-off-mode">screen-off</string>
<boolean name="brightness-below-active" value="false" />
<boolean name="verbose" value="true" />
<boolean name="mqtt-ha-integration" value="true" />
<int name="brightness" value="33" />
<string name="home-on-gesture"></string>
<boolean name="mqtt-command" value="true" />
<string name="mqtt-client-id">nspanelproB</string>
<boolean name="navigation-bar-on-gesture" value="false" />
</map>
Hi,
I built two t6e app version. Could you please try both version, it does still crash?
adb install -r nspanel-pro-tools-2.2.0-t6e-release.apk
If it still crash try the following:
adb install nspanel-pro-tools-2.2.0-t6e-system.apk
The difference between the two apps the second one was signed with system level cert. And I added a system level broadcast request.
nspanel-pro-tools-2.2.0-t6e-release.zip nspanel-pro-tools-2.2.0-t6e-system.zip
Hi, I followed the instructions exactly. Unfortunately it crashed with both APKs.
--------- beginning of main
06-20 20:19:55.565 2210 2210 W zygote64: ClassLoaderContext size mismatch. expected=1, actual=2 (PCL[] | PCL[];PCL[/data/dalvik-cache/xposed_XResourcesSuperClass.dex*2802528989:/data/dalvik-cache/xposed_XTypedArraySuperClass.dex*708326108])
06-20 20:19:55.698 2210 2210 I c : Log level is RELEASE
06-20 20:19:55.737 2210 2210 I LaunchApp: Start main
06-20 20:19:55.871 2210 2228 D OpenGLRenderer: HWUI GL Pipeline
06-20 20:19:55.975 2210 2215 I zygote64: Do partial code cache collection, code=23KB, data=30KB
06-20 20:19:55.975 2210 2215 I zygote64: After code cache collection, code=23KB, data=30KB
06-20 20:19:55.976 2210 2215 I zygote64: Increasing code cache capacity to 128KB
06-20 20:19:55.977 2210 2215 I zygote64: Compiler allocated 4MB to compile void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int)
06-20 20:19:56.059 2210 2215 I zygote64: Do partial code cache collection, code=60KB, data=47KB
06-20 20:19:56.059 2210 2215 I zygote64: After code cache collection, code=60KB, data=47KB
06-20 20:19:56.059 2210 2215 I zygote64: Increasing code cache capacity to 256KB
06-20 20:19:56.101 2210 2210 I MainActivity: Permission check: 27
06-20 20:19:56.126 2210 2210 I MainActivity: Permissions are granted. Good to go!
06-20 20:19:56.305 2210 2215 I zygote64: Compiler allocated 7MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
06-20 20:19:56.440 2210 2215 I zygote64: Do full code cache collection, code=125KB, data=89KB
06-20 20:19:56.440 2210 2215 I zygote64: After code cache collection, code=106KB, data=54KB
06-20 20:19:56.645 2210 2215 I zygote64: Do partial code cache collection, code=115KB, data=78KB
06-20 20:19:56.646 2210 2215 I zygote64: After code cache collection, code=115KB, data=78KB
06-20 20:19:56.646 2210 2215 I zygote64: Increasing code cache capacity to 512KB
06-20 20:19:56.686 2210 2228 I mali_so : [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 1095; [Func] : base_context_deal_with_version_affairs_rk_ext;
06-20 20:19:56.686 2210 2228 I mali_so : arm_release_ver of this mali_so is 'r12p0-01rel0', rk_so_ver is '3@0 '.
06-20 20:19:56.686 2210 2228 I mali_so : [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 1111; [Func] : base_context_deal_with_version_affairs_rk_ext;
06-20 20:19:56.686 2210 2228 I mali_so : arm_release_vers are match. to set the full mali_ver 'r12p0-01rel0-x-3@0' as value of 'sys.gmali.version'.
06-20 20:19:56.690 2210 2228 I mali_so : [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/cmem/src/mali_cmem_hoard.c; [Line] : 559; [Func] : should_current_process_not_to_use_hoard;
06-20 20:19:56.690 2210 2228 I mali_so : WOULD use hoard.
06-20 20:19:56.711 2210 2228 I com.seaky.nspanelpro.tools: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
06-20 20:19:56.712 2210 2228 I OpenGLRenderer: Initialized EGL, version 1.4
06-20 20:19:56.712 2210 2228 D OpenGLRenderer: Swap behavior 2
06-20 20:19:56.730 2210 2228 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
06-20 20:19:56.801 2210 2210 I zygote64: Deoptimizing void android.widget.LinearLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) due to JIT inline cache
06-20 20:19:56.860 2210 2210 I MainActivity: Main switch is off
06-20 20:19:56.867 2210 2210 I zygote64: Deoptimizing void g0.w.f(android.content.Context, g0.t0) due to JIT inline cache
06-20 20:19:56.867 2210 2210 I zygote64: Deoptimizing android.graphics.Typeface g0.t0.g(int, int, g0.w$a) due to JIT inline cache
06-20 20:19:56.963 2210 2228 I [Gralloc]: Got handle 1 for fd 58
06-20 20:19:56.963 2210 2228 I [Gralloc]: leave, w : 480, h : 480, format : 0x1,internal_format : 0x1, usage : 0xb00. size=921600,pixel_stride=480,byte_stride=1920
06-20 20:19:56.963 2210 2228 I [Gralloc]: leave: prime_fd=58,share_attr_fd=59
06-20 20:19:57.032 2210 2228 I [Gralloc]: Got handle 2 for fd 62
06-20 20:19:57.033 2210 2228 I [Gralloc]: leave, w : 480, h : 480, format : 0x1,internal_format : 0x1, usage : 0xb00. size=921600,pixel_stride=480,byte_stride=1920
06-20 20:19:57.033 2210 2228 I [Gralloc]: leave: prime_fd=62,share_attr_fd=63
It is strange because in this topic Issue #100 @maodun96 has reported on S6E it is still wokring.
It is strange because in this topic Issue #100 @maodun96 has reported on S6E it is still wokring.
My s6e firmware may be different from his, and it has a navigation bar by default.
But I remember that before flashing this firmware (that is, the original firmware), my tuya s6e could open the "tool" normally in V2.1.0
This firmware may be a test firmware before "OEM customization".
btw i'm still investigating how to mitigate this issue
Is there a way I can help? Potentially I could send you one of my two panels, but the shipping may be more expensive than buying a panel directly to you? Or maybe I just get an actual NSPanel Pro...
Hello, I also have the same problem on my Moes T6E, I check navigation bar setting as well and it's also set to false. I'm available also if you need other test result, feel free to ask !
First of all, thanks for this awesome work!
I have a Moes T6E. Just updated the App to V2.2.0.
Now when I select "tools" the app crashes, no matter if "active" is ON or OFF.
I could not find the log file using ADB, if you let me know the location, I will attach it here.