marcfager/nspanel-mf

THANKS plus... question/issue

Closed this issue · 1 comments

Hi Marc, am trying to extend on your great work (thanks a lot for commencing this!!).
I have odd issues though and maybe you have see this before...if not then maybe as a 'fyi'?
In the same way as you added light to the lights page, to the home-page I added a batterywarning pic field and two pictures (off + on), updated the yaml (binary sensor) and all went fine. Then I added more to the home screen as a textsensor driven box and inside/nspanel-temp ... and as of some point the boot loop changes and the only way to get it working seems to be to fully switch it off for about 30 sec+. As the boot does not kick back any log it is quite hard to analyse other than go completely back to your base and gradually re-do the lot and see where it starts to fail....which I am doing right now but the results are different whilst booting with/out full power off.
BTW, the differences in boot are: if all fine then the screen flashes a couple of times between HA page and main page...if not fine then it flashes only the HA page and a full power down is needed.
Any chance you have had similar issues and maybe some tips in this area?

Example: section with input_boolean works and boots as-before, when adding the motion part, it changes boot loop. If I then remove the battery part...all OK again, so it seems related to having both active???

# Battery warning, output use in display (bottom)
  - platform: homeassistant
    id: battery_low
    entity_id: input_boolean.battery_low
    on_state:
      then:
        - lambda: |-
            int symbol=36;
            if (id(battery_low).state)
            {
            symbol=37;
            }
            id(disp1).send_command_printf("Home.battery.pic=%i", symbol);

# Motion warning, output use in display (bottom)
#  - platform: homeassistant
#    id: person_detected
#    entity_id: binary_sensor.tapo_camera_545d_motion
#    on_state:
#      then:
#        - lambda: |-
#            if (x) {
#            id(disp1).send_command_printf("Home.pdetect.pic=%i", 39); 
#            }
#            else { 
#            id(disp1).send_command_printf("Home.pdetect.pic=%i", 38); 
#            }           

Closing this topic, although I still did not find the cause of the issue above, by removing a lot of lights (not using them), related pages, etc. it started to work. Possibly it was an overkill of errors to the screen but without any logs..hard to guess