Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.45k stars 260 forks source link

`DEV` 4.2dev.4 climate slider scale difficult #1542

Closed roblamoreaux closed 10 months ago

roblamoreaux commented 10 months ago

I just updated to 4.2dev.4 and for my thermostat the slider scale goes from 55 to 400 when the thermostat can only do 55 to 99. This makes is really hard to set the temp. I suspect the scaling to the slider it not working correctly.

The thermostat attributes are: `hvac_modes:

edwardtfn commented 10 months ago

Could you please upgrade your system to v4.2dev.5 and try it again. All the 3 parts (TFT, ESPHome and Blueprint) must be updated. 😞 I couldn't try myself, will try it tomorrow, but it would be nice if you can play with the system a bit and give some feedback (and logs, in case of errors).

roblamoreaux commented 10 months ago

It took me way too long to check this since I found the limit of my 4Gb Odroid N2+. (ESPHome compile kept crashing until I unload Music Assistant to free up RAM).

Now that I gave it compiled and installed I can confirm it is working great.

Rob

edwardtfn commented 10 months ago

You know you can use your laptop to compile ESPHome? It's quite fast.

I'm thinking about a pre-compiled firmware... Just have to find a way to manage the add-ons. And test it.

roblamoreaux commented 10 months ago

Yeah but the laptop isn't updated to the latest ESPHome and there are times I want to update nodes when I am remote. Having ESPHome terminate during a compile is something new so I wanted to figure out why.

Playing with the panel, while the slider is working right it does not seem to be changing the setpoint on my thermostat. The cool side doesn't even change the displayed cool set point and the hot side just doesn't change the setting in Home Assistant.

Rob

edwardtfn commented 10 months ago

Can you see any error in Home Assistant logs (Settings > System > Logs)?

roblamoreaux commented 10 months ago

Yes I do see errors:

2024-01-07 15:53:37.572 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: NSPanel service call: If at step 1: Error executing script. Invalid data for call_service at pos 1: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:37.576 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: NSPanel service call: Error executing script. Invalid data for if at pos 1: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:37.578 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Error executing script. Invalid data for choose at pos 2: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:37.581 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Error executing script. Invalid data for choose at pos 2: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:37.583 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] Error while executing automation automation.robs_ns_panel_automation: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:40.858 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: NSPanel service call: If at step 1: Error executing script. Invalid data for call_service at pos 1: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:40.863 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: NSPanel service call: Error executing script. Invalid data for if at pos 1: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:40.865 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Error executing script. Invalid data for choose at pos 2: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:40.867 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Error executing script. Invalid data for choose at pos 2: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:40.870 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] Error while executing automation automation.robs_ns_panel_automation: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:43.594 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: NSPanel service call: If at step 1: Error executing script. Invalid data for call_service at pos 1: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:43.598 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: NSPanel service call: Error executing script. Invalid data for if at pos 1: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:43.598 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Error executing script. Invalid data for choose at pos 2: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:43.598 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Error executing script. Invalid data for choose at pos 2: some but not all values in the same group of inclusion 'temperature' @ data[] 2024-01-07 15:53:43.601 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] Error while executing automation automation.robs_ns_panel_automation: some but not all values in the same group of inclusion 'temperature' @ data[]

roblamoreaux commented 10 months ago

And some more. I had changed the slider for the heat then the cool:

2024-01-07 15:53:57.872 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: Page changed: Choose at step 1: Home page: If at step 6: Repeat at step 2: If at step 1: Error executing script. Error rendering template for variables at pos 2: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.874 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: Page changed: Choose at step 1: Home page: If at step 6: Repeat at step 2: Error executing script. Error rendering template for if at pos 1: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.875 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: Page changed: Choose at step 1: Home page: If at step 6: Error executing script. Error rendering template for repeat at pos 2: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.875 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: Page changed: Choose at step 1: Home page: Error executing script. Error rendering template for if at pos 6: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.875 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Choose at step 2: Page changed: Error executing script. Error rendering template for choose at pos 1: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.876 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Main choices: NSPanel event: Error executing script. Error rendering template for choose at pos 2: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.876 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] 2Robs NS Panel automation: Error executing script. Error rendering template for choose at pos 2: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1 2024-01-07 15:53:57.878 ERROR (MainThread) [homeassistant.components.automation.robs_ns_panel_automation] Error while executing automation automation.robs_ns_panel_automation: UndefinedError: homeassistant.helpers.template.Wrapper object has no element 1

edwardtfn commented 10 months ago

@roblamoreaux, could you please update the blueprint and try again?

And please send new logs if you still having issues. :)

roblamoreaux commented 10 months ago

That works quite well