[Tado] Handler disposed problems

Introduction
I use the tado binding to connect to my tado system but I’m getting the following error’s repeatedly:

Logs

    2019-12-26 23:04:20.317 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:commonheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:20.319 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:bensbedroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:20.321 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:hotwater tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:20.321 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:nevesbedroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:20.324 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:mattandwendysbedroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:20.326 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:bathroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.188 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:mattandwendysbedroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.219 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:hotwater tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.225 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:commonheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.237 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:hallheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.240 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:bathroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.249 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:bensbedroomheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.259 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:loungeheating tried accessing its bridge although the handler was already disposed.

2019-12-26 23:04:45.263 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler TadoZoneHandler of thing tado:zone:house:nevesbedroomheating tried accessing its bridge although the handler was already disposed.

Investigation
And this will keep repeating: However everything works I can change the temperature check temp etc

So doing a quick google search you find this which is the same problem but with chrome cast it then gets fixed in #3813 So I was wondering if it was the same thing?

I have logged it in a github issue #6670 in Openhab Addons but have not yet received a response so I was wondering if someone on here could shed some light?
Hardware
Raspberry 3B+Running Openhabian 2.5.0-1

**Things**
    Bridge tado:home:house [ username="ben@xxxxxxxxx", password="Password Herexxxxxx" ]
        {
            //Mobile Devices
            mobiledevice bensphone [id=499532, refreshInterval=60]
            mobiledevice mattsphone [id=1190811, refreshInterval=60 ]
            mobiledevice wendysphone [id=328961, refreshInterval=60]
            //Heating
            zone commonheating [id=1, refreshInterval=60]
            zone loungeheating [id=2, refreshInterval=60]
            zone mattandwendysbedroomheating [id=3, refreshInterval=60]
            zone nevesbedroomheating [id=4, refreshInterval=60]
            zone hallheating [id=5, refreshInterval=60]
            zone bathroomheating [id=7, refreshInterval=60]
            zone bensbedroomheating [id=8, refreshInterval=60]
            //Hot Water
            zone hotwater [id=0, refreshInterval=60]
        }

Items

//Tado

//Common
Number:Temperature common_HEAT_inside_temperature                   "Common Heating Inside Temperature"      { channel="tado:zone:house:commonheating:currentTemperature" }
Number             common_HEAT_humidity                             "Common Heating Humidity"                { channel="tado:zone:house:commonheating:humidity" }
Number             common_HEAT_heating_power                        "Common Heating Power"                   { channel="tado:zone:house:commonheating:heatingPower" }
String             common_HEAT_hvac_mode                            "Common Heating HVAC Mode"               { channel="tado:zone:house:commonheating:hvacMode" }
Number:Temperature common_HEAT_target_temperature                   "Common Heating Set Point"               { channel="tado:zone:house:commonheating:targetTemperature" }
DateTime           common_HEAT_overlay_expiry                       "Common Heating Overlay Expiry"          { channel="tado:zone:house:commonheating:overlayExpiry" }
Number             common_HEAT_timer_duration                       "Common Heating Timer Duration"          { channel="tado:zone:house:commonheating:timerDuration" }
String             common_HEAT_operation_mode                       "Common Heating Operation Mode"          { channel="tado:zone:house:commonheating:operationMode" }
//Lounge
Number:Temperature lounge_HEAT_inside_temperature                   "Lounge Inside Temperature"      { channel="tado:zone:house:loungeheating:currentTemperature" }
Number             lounge_HEAT_humidity                             "Lounge Humidity"                { channel="tado:zone:house:loungeheating:humidity" }
Number             lounge_HEAT_heating_power                        "Lounge Heating Power"           { channel="tado:zone:house:loungeheating:heatingPower" }
String             lounge_HEAT_hvac_mode                            "Lounge HVAC Mode"               { channel="tado:zone:house:loungeheating:hvacMode" }
Number:Temperature lounge_HEAT_target_temperature                   "Lounge Set Point"               { channel="tado:zone:house:loungeheating:targetTemperature" }
DateTime           lounge_HEAT_overlay_expiry                       "Lounge Overlay Expiry"          { channel="tado:zone:house:loungeheating:overlayExpiry" }
Number             lounge_HEAT_timer_duration                       "Lounge Timer Duration"          { channel="tado:zone:house:loungeheating:timerDuration" }
String             lounge_HEAT_operation_mode                       "Lounge Operation Mode"          { channel="tado:zone:house:loungeheating:operationMode" }
//Matt and Wendy's Bedroom
Number:Temperature mattandwendysbedroom_HEAT_inside_temperature     "Matt and Wendy's Bedroom Inside Temperature"      { channel="tado:zone:house:mattandwendysbedroomheating:currentTemperature" }
Number             mattandwendysbedroom_HEAT_humidity               "Matt and Wendy's Bedroom Humidity"                { channel="tado:zone:house:mattandwendysbedroomheating:humidity" }
Number             mattandwendysbedroom_HEAT__power                 "Matt and Wendy's Bedroom Heating Power"           { channel="tado:zone:house:mattandwendysbedroomheating:heatingPower" }
String             mattandwendysbedroom_HEAT_hvac_mode              "Matt and Wendy's Bedroom HVAC Mode"               { channel="tado:zone:house:mattandwendysbedroomheating:hvacMode" }
Number:Temperature mattandwendysbedroom_HEAT_target_temperature     "Matt and Wendy's Bedroom Set Point"               { channel="tado:zone:house:mattandwendysbedroomheating:targetTemperature" }
DateTime           mattandwendysbedroom_HEAT_overlay_expiry         "Matt and Wendy's Bedroom Overlay Expiry"          { channel="tado:zone:house:mattandwendysbedroomheating:overlayExpiry" }
Number             mattandwendysbedroom_HEAT_timer_duration         "Matt and Wendy's Bedroom Timer Duration"          { channel="tado:zone:house:mattandwendysbedroomheating:timerDuration" }
String             mattandwendysbedroom_HEAT_operation_mode         "Matt and Wendy's Bedroom Operation Mode"          { channel="tado:zone:house:mattandwendysbedroomheating:operationMode" }
//Neve's Bedroom
Number:Temperature nevesbedroom_HEAT_inside_temperature             "Neve's Bedroom Inside Temperature"      { channel="tado:zone:house:nevesbedroomheating:currentTemperature" }
Number             nevesbedroom_HEAT_humidity                       "Neve's Bedroom Humidity"                { channel="tado:zone:house:nevesbedroomheating:humidity" }
Number             nevesbedroom_HEAT_heating_power                  "Neve's Bedroom Heating Power"           { channel="tado:zone:house:nevesbedroomheating:heatingPower" }
String             nevesbedroom_HEAT_hvac_mode                      "Neve's Bedroom HVAC Mode"               { channel="tado:zone:house:nevesbedroomheating:hvacMode" }
Number:Temperature nevesbedroom_HEAT_target_temperature             "Neve's Bedroom Set Point"               { channel="tado:zone:house:nevesbedroomheating:targetTemperature" }
DateTime           nevesbedroom_HEAT_overlay_expiry                 "Neve's Bedroom Overlay Expiry"          { channel="tado:zone:house:nevesbedroomheating:overlayExpiry" }
Number             nevesbedroom_HEAT_timer_duration                 "Neve's Bedroom Timer Duration"          { channel="tado:zone:house:nevesbedroomheating:timerDuration" }
String             nevesbedroom_HEAT_operation_mode                 "Neve's Bedroom Operation Mode"          { channel="tado:zone:house:nevesbedroomheating:operationMode" }
//Hall
Number:Temperature hall_HEAT_inside_temperature                     "Hall Inside Temperature"      { channel="tado:zone:house:hallheating:currentTemperature" }
Number             hall_HEAT_humidity                               "Hall Humidity"                { channel="tado:zone:house:hallheating:humidity" }
Number             hall_HEAT_heating_power                          "Hall Heating Power"           { channel="tado:zone:house:hallheating:heatingPower" }
String             hall_HEAT_hvac_mode                              "Hall HVAC Mode"               { channel="tado:zone:house:hallheating:hvacMode" }
Number:Temperature hall_HEAT_target_temperature                     "Hall Set Point"               { channel="tado:zone:house:hallheating:targetTemperature" }
DateTime           hall_HEAT_overlay_expiry                         "Hall Overlay Expiry"          { channel="tado:zone:house:hallheating:overlayExpiry" }
Number             hall_HEAT_timer_duration                         "Hall Timer Duration"          { channel="tado:zone:house:hallheating:timerDuration" }
String             hall_HEAT_operation_mode                         "Hall Operation Mode"          { channel="tado:zone:house:hallheating:operationMode" }
//Bathroom
Number:Temperature bathroom_HEAT_inside_temperature                 "Bathroom Inside Temperature"      { channel="tado:zone:house:bathroomheating:currentTemperature" }
Number             bathroom_HEAT_humidity                           "Bathroom Humidity"                { channel="tado:zone:house:bathroomheating:humidity" }
Number             bathroom_HEAT_heating_power                      "Bathroom Heating Power"           { channel="tado:zone:house:bathroomheating:heatingPower" }
String             bathroom_HEAT_hvac_mode                          "Bathroom HVAC Mode"               { channel="tado:zone:house:bathroomheating:hvacMode" }
Number:Temperature bathroom_HEAT_target_temperature                 "Bathroom Set Point"               { channel="tado:zone:house:bathroomheating:targetTemperature" }
DateTime           bathroom_HEAT_overlay_expiry                     "Bathroom Overlay Expiry"          { channel="tado:zone:house:bathroomheating:overlayExpiry" }
Number             bathroom_HEAT_timer_duration                     "Bathroom Timer Duration"          { channel="tado:zone:house:bathroomheating:timerDuration" }
String             bathroom_HEAT_operation_mode                     "Bathroom Operation Mode"          { channel="tado:zone:house:bathroomheating:operationMode" }
//Ben's Bedroom
Number:Temperature bensbedroom_HEAT_inside_temperature              "Ben's Bedroom Inside Temperature"      { channel="tado:zone:house:bensbedroomheating:currentTemperature" }
Number             bensbedroom_HEAT_humidity                        "Ben's Bedroom Humidity"                { channel="tado:zone:house:bensbedroomheating:humidity" }
Number             bensbedroom_HEAT_heating_power                   "Ben's Bedroom Heating Power"           { channel="tado:zone:house:bensbedroomheating:heatingPower" }
String             bensbedroom_HEAT_hvac_mode                       "Ben's Bedroom HVAC Mode"               { channel="tado:zone:house:bensbedroomheating:hvacMode" }
Number:Temperature bensbedroom_HEAT_target_temperature              "Ben's Bedroom Set Point"               { channel="tado:zone:house:bensbedroomheating:targetTemperature" }
DateTime           bensbedroom_HEAT_overlay_expiry                  "Ben's Bedroom Overlay Expiry"          { channel="tado:zone:house:bensbedroomheating:overlayExpiry" }
Number             bensbedroom_HEAT_timer_duration                  "Ben's Bedroom Timer Duration"          { channel="tado:zone:house:bensbedroomheating:timerDuration" }
String             bensbedroom_HEAT_operation_mode                  "Ben's Bedroom Operation Mode"          { channel="tado:zone:house:bensbedroomheating:operationMode" }
//Hot Water
String             DHW_hvac_mode                                    "HVAC Mode"               { channel="tado:zone:house:hotwater:hvacMode" }
Number:Temperature DHW_target_temperature                           "Set Point"               { channel="tado:zone:house:hotwater:targetTemperature" }
DateTime           DHW_overlay_expiry                               "Overlay Expiry"          { channel="tado:zone:house:hotwater:overlayExpiry" }
Number             DHW_timer_duration                               "Timer Duration"          { channel="tado:zone:house:hotwater:timerDuration" }
String             DHW_operation_mode                               "Operation Mode"          { channel="tado:zone:house:hotwater:operationMode" }
//Battery
Switch             common_Battery_Low_Alarm                         "Common Heating: Battery Low"                  { channel="tado:zone:house:commonheating:batteryLowAlarm" }
Switch             lounge_Battery_Low_Alarm                         "Lounge: Battery Low "                         { channel="tado:zone:house:loungeheating:batteryLowAlarm" }
Switch             mattandwendysbedroom_Battery_Low_Alarm           "Matt and Wendy's Bedroom: Battery Low "       { channel="tado:zone:house:mattandwendysbedroomheating:batteryLowAlarm" }
Switch             nevesbedroom_Battery_Low_Alarm                   "Neve's Bedroom: Battery Low "                 { channel="tado:zone:house:nevesbedroomheating:batteryLowAlarm" }
Switch             hall_Battery_Low_Alarm                           "Hall: Battery Low "                           { channel="tado:zone:house:hallheating:batteryLowAlarm" }
Switch             bathroom_Battery_Low_Alarm                       "Bathroom: Battery Low "                       { channel="tado:zone:house:bathroomheating:batteryLowAlarm" }
Switch             bensbedroom_Battery_Low_Alarm                    "Ben's Bedroom: Battery Low "                  { channel="tado:zone:house:bensbedroomheating:batteryLowAlarm" }
//Devices
Switch             bensPhone_atHome                                 "Ben's Phone location [MAP(presence.map):%s]" { channel="tado:mobiledevice:house:bensphone:atHome" }
Switch             mattsPhone_atHome                                "Matt's Phone location [MAP(presence.map):%s]" { channel="tado:mobiledevice:house:mattsphone:atHome" }
Switch             wendysPhone_atHome                               "Wendy's Phone location [MAP(presence.map):%s]" { channel="tado:mobiledevice:house:wendysphone:atHome" }

Sitemap

sitemap house label="House"
{
    Frame label="Heating" 
    {
        Text label="Common Heating" icon="radiator" 
        {
            Text      item=common_HEAT_inside_temperature
            Text      item=common_HEAT_humidity
            Text      item=common_HEAT_heating_power

            Setpoint  item=common_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=common_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=common_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=common_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=common_HEAT_overlay_expiry
        }
        Text label="Lounge" icon="radiator" 
        {
            Text      item=lounge_HEAT_inside_temperature
            Text      item=lounge_HEAT_humidity
            Text      item=lounge_HEAT_heating_power

            Setpoint  item=lounge_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=lounge_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=lounge_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=lounge_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=lounge_HEAT_overlay_expiry
        }
        Text label="Matt and Wendy's Bedroom" icon="radiator" 
        {
            Text      item=mattandwendysbedroom_HEAT_inside_temperature
            Text      item=mattandwendysbedroom_HEAT_humidity
            Text      item=mattandwendysbedroom_HEAT_heating_power

            Setpoint  item=mattandwendysbedroom_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=mattandwendysbedroom_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=mattandwendysbedroom_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=mattandwendysbedroom_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=mattandwendysbedroom_HEAT_overlay_expiry
        }
        Text label="Neve's Bedroom" icon="radiator" 
        {
            Text      item=nevesbedroom_HEAT_inside_temperature
            Text      item=nevesbedroom_HEAT_humidity
            Text      item=nevesbedroom_HEAT_heating_power

            Setpoint  item=nevesbedroom_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=nevesbedroom_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=nevesbedroom_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=nevesbedroom_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=nevesbedroom_HEAT_overlay_expiry
        }
        Text label="Hall" icon="radiator" 
        {
            Text      item=hall_HEAT_inside_temperature
            Text      item=hall_HEAT_humidity
            Text      item=hall_HEAT_heating_power

            Setpoint  item=hall_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=hall_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=hall_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=hall_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=hall_HEAT_overlay_expiry
        }
        Text label="Bathroom" icon="radiator" 
        {
            Text      item=bathroom_HEAT_inside_temperature
            Text      item=bathroom_HEAT_humidity
            Text      item=bathroom_HEAT_heating_power

            Setpoint  item=bathroom_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=bathroom_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=bathroom_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=bathroom_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=bathroom_HEAT_overlay_expiry
        }
        Text label="Ben's Bedroom" icon="radiator" 
        {
            Text      item=bensbedroom_HEAT_inside_temperature
            Text      item=bensbedroom_HEAT_humidity
            Text      item=bensbedroom_HEAT_heating_power

            Setpoint  item=bensbedroom_HEAT_target_temperature  minValue=5 maxValue=25
            Selection item=bensbedroom_HEAT_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=bensbedroom_HEAT_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=bensbedroom_HEAT_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=bensbedroom_HEAT_overlay_expiry
        }
        Text label="Battery Low Alerts" icon="battery"
        {
       
            Text item=common_Battery_Low_Alarm valuecolor=[common_Battery_Low_Alarm==NULL="orange", common_Battery_Low_Alarm==OFF="green", common_Battery_Low_Alarm==ON="red"]
            Text item=lounge_Battery_Low_Alarm valuecolor=[OFF="green", ON="red"]
            Text item=mattandwendysbedroom_Battery_Low_Alarm valuecolor=[OFF="green", ON="red"]
            Text item=nevesbedroom_Battery_Low_Alarm valuecolor=[OFF="green", ON="red"]
            Text item=hall_Battery_Low_Alarm valuecolor=[OFF="green", ON="red"]
            Text item=bathroom_Battery_Low_Alarm valuecolor=[OFF="green", ON="red"]
            Text item=bensbedroom_Battery_Low_Alarm valuecolor=[OFF="green", ON="red"]
        }    
    }
    Frame label="Hot Water"
    {
        Text label="Hot Water" icon="temperature_hot"
        {
            Setpoint  item=DHW_target_temperature  minValue=30 maxValue=65
            Selection item=DHW_hvac_mode           mappings=[OFF=off, HEAT=on]
            Selection item=DHW_operation_mode      mappings=[SCHEDULE=schedule, MANUAL=manual, UNTIL_CHANGE="until change", TIMER=timer]
            Setpoint  item=DHW_timer_duration      minValue=5 maxValue=60 step=1
            Text      item=DHW_overlay_expiry
        }
    }

Have you tried stopping OH, cleaning the cache and rebooting?

1 Like

I had the same issue and ended up here. @H102 clearing and rebooting worked.

For others that land here, this is how to clear:

sudo /etc/init.d/openhab2 stop
sudo rm -rf /var/lib/openhab2/cache/*
sudo rm -rf /var/lib/openhab2/tmp/*
sudo /etc/init.d/openhab2 start

Note that once restarted you may need to wait a while if you have a lot of items and rules etc. I had to wait 10min. After which you may find that all your items have not been fully discovered because some files have not been loaded. In which case restart again and wait further. If you have z-wave items like I do then sometimes you have to wait about an hour for everything to go back to normal.

For those using openhabian or installed via apt-get to clean the cache use:

sudo systemctl stop openhab2

sudo openhab-cli clean-cache

sudo systemctl start openhab2

@Curtis: Please click the square box on solution post to mark topic as solved.

Thanks

1 Like