resoai / TileBoard

A simple yet highly configurable Dashboard for HomeAssistant
MIT License
1.63k stars 278 forks source link

[BUG] History tiles not working #804

Closed giovi321 closed 2 years ago

giovi321 commented 2 years ago

I am having issues with HISTORY tiles all of a sudden. I keep getting an error message for all of them that I can partially read saying "ERROR IN REST API" "Code -1 retrieved for http://.....". This happened all of a sudden, I'm running Home Assistant 2021.11.4,

This is my code:

               title: 'Temperature',
               width: 3,
               height: 3.7,
               items: [
         {
           position: [0, 0],
           width: 3,
           type: TYPES.HISTORY,
           id: 'sensor.livingroom_average_temperature',
           title: 'Average livingroom temperature',
/*           offset: 5*24*3600*1000,*/
           options: MINIMAL_CHART_OPTIONS,
         },
         {
           position: [0, 1],
           width: 3,
           type: TYPES.HISTORY,
           id: 'sensor.multisensor_bedroom_air_temperature',
           title: 'Bedroom temperature',
/*           offset: 5*24*3600*1000,*/
           options: MINIMAL_CHART_OPTIONS,
         },
         {
           position: [0, 2],
           width: 3,
           type: TYPES.HISTORY,
           id: 'sensor.multisensor_bathroom_air_temperature',
           title: 'Bathroom temperature',
/*           offset: 5*24*3600*1000,*/
           options: MINIMAL_CHART_OPTIONS,
         },
               ]
            },
     {
               title: 'Humidity',
               width: 3,
               height: 3.7,
               items: [
         {
           position: [0, 0],
           width: 3,
           type: TYPES.HISTORY,
           id: 'sensor.livingroom_average_humidity',
           title: 'Average livingroom humidity',
/*           offset: 5*24*3600*1000,*/
           options: MINIMAL_CHART_OPTIONS,
         },
         {
           position: [0, 1],
           width: 3,
           type: TYPES.HISTORY,
           id: 'sensor.multisensor_bedroom_humidity_3',
           title: 'Bedroom humidity',
/*           offset: 5*24*3600*1000,*/
           options: MINIMAL_CHART_OPTIONS,
         },
         {
           position: [0, 2],
           width: 3,
           type: TYPES.HISTORY,
           id: 'sensor.multisensor_bathroom_humidity',
           title: 'Bathroom humidity',
/*           offset: 5*24*3600*1000,*/
           options: MINIMAL_CHART_OPTIONS,
         },
               ]
            },
         ]
      },
alphasixtyfive commented 2 years ago

I'm afraid it is a HA's issue. https://github.com/resoai/TileBoard/issues/386

rchl commented 2 years ago

Duplicate of #386