homeassistant-intex-spa
homeassistant-intex-spa copied to clipboard
Stale temperature when heating (integration)
Hi, Thanks for this amazing apps.
I realise that current temperature is not updating automaticaly. To check it, I have to modify the desired temp and then current temp is changing.
How can I do to have a check every 10 minutes? Regard, Geoff
Hi @Geoff-Hz, I'm pleased to read your greatings !
The current temperature is expected to update after each command set, and automatically every 30 seconds. To understand why it does not work on your side:
- could you enable logging, in your Home Assistant
config/configuration.yaml
:
logger:
default: warning # 'warning' is the default value
logs:
custom_components.intex_spa: debug
intex_spa: debug
- and copy/paste some logs here:
- Next to a command and its received response
- During 2 idle minutes
Thanks for your reply @mathieu-mp
here some logs
-------------------------------------------------------------------
Intex Spa
Version: 0.0.1
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/mathieu-mp/homeassistant-intex-spa/issues
-------------------------------------------------------------------
2022-11-21 12:10:38.960 INFO (MainThread) [intex_spa.intex_spa] Initializing IntexSpa instance...
2022-11-21 12:10:38.960 INFO (MainThread) [intex_spa.intex_spa] IntexSpa instance initialized
2022-11-21 12:10:38.961 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:10:38.961 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:10:38.961 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:10:38.961 INFO (MainThread) [intex_spa.intex_spa_network_layer] Not connected to the spa, trying to connect...
2022-11-21 12:10:38.961 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Opening TCP connection with the spa at 10.0.1.42:8990 with asyncio...
2022-11-21 12:10:39.281 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2102085682789051805348e1e94bfac0) has incorrect timestamp: 44 seconds behind HA
2022-11-21 12:10:40.235 INFO (MainThread) [intex_spa.intex_spa_network_layer] TCP connection established with the spa
2022-11-21 12:10:40.236 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690290389614", "type": 1}'
2022-11-21 12:10:41.881 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690290389614","data":"FFFF110F01030015000000008280802600001D","result":"ok","type":2}\n'
2022-11-21 12:10:41.882 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:10:41.884 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:10:41.884 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 2.923 seconds (success: True)
2022-11-21 12:10:41.884 DEBUG (MainThread) [intex_spa.intex_spa] 'info' intent: Handling new intent...
2022-11-21 12:10:41.884 DEBUG (MainThread) [intex_spa.intex_spa] 'info' intent: a spa query is needed
2022-11-21 12:10:41.884 DEBUG (MainThread) [intex_spa.intex_spa] 'info' intent: new spa query...
2022-11-21 12:10:41.884 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "0", "sid": "16690290418846", "type": 3}'
2022-11-21 12:10:42.906 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690290418846","data":"{\\"ip\\":\\"10.0.1.42\\",\\"uid\\":\\"0K040210172020082000014318\\",\\"dtype\\":\\"spa\\"}","result":"ok","type":3}\n'
2022-11-21 12:10:42.906 DEBUG (MainThread) [intex_spa.intex_spa_object_info] Spa info: '{'ip': '10.0.1.42', 'uid': '0K040210172020082000014318', 'dtype': 'spa'}'
2022-11-21 12:10:42.912 DEBUG (MainThread) [intex_spa.intex_spa] 'info' intent: new info is rendered
2022-11-21 12:10:46.090 WARNING (MainThread) [homeassistant.components.sensor] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2022-11-21 12:10:53.055 WARNING (MainThread) [homeassistant.components.netatmo] Webhook not registered - https and port 443 is required to register the webhook
2022-11-21 12:11:13.000 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:11:13.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:11:13.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:11:13.001 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690290730013", "type": 1}'
2022-11-21 12:11:13.113 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690290730013","data":"FFFF110F01030015000000008280802600001D","result":"ok","type":2}\n'
2022-11-21 12:11:13.113 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:11:13.114 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:11:13.114 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.114 seconds (success: True)
2022-11-21 12:11:40.280 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: Handling new intent...
2022-11-21 12:11:40.281 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: triggering a preliminary 'update' intent...
2022-11-21 12:11:40.281 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:11:40.281 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:11:40.281 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:11:40.281 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690291002814", "type": 1}'
2022-11-21 12:11:40.451 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291002814","data":"FFFF110F01030015000000008280802600001D","result":"ok","type":2}\n'
2022-11-21 12:11:40.452 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:11:40.452 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:11:40.452 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: a spa query is needed
2022-11-21 12:11:40.452 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new spa query...
2022-11-21 12:11:40.452 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888050F0C25A9", "sid": "16690291004525", "type": 1}'
2022-11-21 12:11:40.802 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291004525","data":"FFFF110F010300150000000080808025000020","result":"ok","type":2}\n'
2022-11-21 12:11:40.802 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 37, 'error_code': False}'
2022-11-21 12:11:40.802 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new status is rendered
2022-11-21 12:11:40.802 DEBUG (MainThread) [custom_components.intex_spa] Manually updated intex_spa data
2022-11-21 12:11:42.911 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: Handling new intent...
2022-11-21 12:11:42.912 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: triggering a preliminary 'update' intent...
2022-11-21 12:11:42.912 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:11:42.912 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:11:42.912 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:11:42.912 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690291029124", "type": 1}'
2022-11-21 12:11:43.211 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291029124","data":"FFFF110F010300150000000080808025000020","result":"ok","type":2}\n'
2022-11-21 12:11:43.212 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 37, 'error_code': False}'
2022-11-21 12:11:43.212 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:11:43.212 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: a spa query is needed
2022-11-21 12:11:43.212 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new spa query...
2022-11-21 12:11:43.212 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888050F0C26A8", "sid": "16690291032126", "type": 1}'
2022-11-21 12:11:43.562 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291032126","data":"FFFF110F01030015000000008080802600001F","result":"ok","type":2}\n'
2022-11-21 12:11:43.562 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:11:43.562 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new status is rendered
2022-11-21 12:11:43.562 DEBUG (MainThread) [custom_components.intex_spa] Manually updated intex_spa data
2022-11-21 12:12:13.004 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:12:13.004 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:12:13.004 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:12:13.004 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690291330045", "type": 1}'
2022-11-21 12:12:13.312 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291330045","data":"FFFF110F01030015000000008080802600001F","result":"ok","type":2}\n'
2022-11-21 12:12:13.312 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:12:13.312 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:12:13.312 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.309 seconds (success: True)
2022-11-21 12:12:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:12:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:12:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:12:43.003 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690291630035", "type": 1}'
2022-11-21 12:12:43.127 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291630035","data":"FFFF110F01030015000000008080802600001F","result":"ok","type":2}\n'
2022-11-21 12:12:43.127 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:12:43.127 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:12:43.128 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.125 seconds (success: True)
2022-11-21 12:13:13.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:13:13.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:13:13.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:13:13.003 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690291930038", "type": 1}'
2022-11-21 12:13:13.222 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690291930038","data":"FFFF110F01030015000000008080802600001F","result":"ok","type":2}\n'
2022-11-21 12:13:13.223 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': True, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:13:13.223 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:13:13.223 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.220 seconds (success: True)
2022-11-21 12:13:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:13:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:13:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:13:43.003 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690292230036", "type": 1}'
2022-11-21 12:13:43.333 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690292230036","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:13:43.333 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:13:43.333 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:13:43.333 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.330 seconds (success: True)
2022-11-21 12:14:13.000 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:14:13.000 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:14:13.000 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:14:13.001 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690292530009", "type": 1}'
2022-11-21 12:14:13.133 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690292530009","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:14:13.134 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:14:13.134 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:14:13.134 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.134 seconds (success: True)
2022-11-21 12:14:43.002 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:14:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:14:43.003 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:14:43.003 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690292830033", "type": 1}'
2022-11-21 12:14:43.233 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690292830033","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:14:43.233 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:14:43.234 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:14:43.234 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.231 seconds (success: True)
2022-11-21 12:15:10.309 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.total_power from integration template has state class total_increasing, but its state is negative. Triggered by state -533.8 with last_updated set to 2022-11-21T11:09:59.999999+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22
2022-11-21 12:15:13.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:15:13.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:15:13.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:15:13.001 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690293130018", "type": 1}'
2022-11-21 12:15:13.333 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293130018","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:15:13.334 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:15:13.334 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:15:13.334 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.333 seconds (success: True)
2022-11-21 12:15:27.692 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: Handling new intent...
2022-11-21 12:15:27.692 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: triggering a preliminary 'update' intent...
2022-11-21 12:15:27.692 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:15:27.692 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:15:27.692 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:15:27.692 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690293276927", "type": 1}'
2022-11-21 12:15:28.084 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293276927","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:15:28.085 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:15:28.085 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:15:28.085 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: a spa query is needed
2022-11-21 12:15:28.085 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new spa query...
2022-11-21 12:15:28.085 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888050F0C25A9", "sid": "16690293280857", "type": 1}'
2022-11-21 12:15:28.444 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293280857","data":"FFFF110F010100150000000080808025000022","result":"ok","type":2}\n'
2022-11-21 12:15:28.445 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 37, 'error_code': False}'
2022-11-21 12:15:28.445 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new status is rendered
2022-11-21 12:15:28.445 DEBUG (MainThread) [custom_components.intex_spa] Manually updated intex_spa data
2022-11-21 12:15:32.190 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: Handling new intent...
2022-11-21 12:15:32.190 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: triggering a preliminary 'update' intent...
2022-11-21 12:15:32.190 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:15:32.190 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:15:32.190 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:15:32.190 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690293321907", "type": 1}'
2022-11-21 12:15:32.384 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293321907","data":"FFFF110F010100150000000080808025000022","result":"ok","type":2}\n'
2022-11-21 12:15:32.384 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 37, 'error_code': False}'
2022-11-21 12:15:32.385 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:15:32.385 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: a spa query is needed
2022-11-21 12:15:32.385 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new spa query...
2022-11-21 12:15:32.385 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888050F0C26A8", "sid": "16690293323854", "type": 1}'
2022-11-21 12:15:32.744 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293323854","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:15:32.744 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:15:32.745 DEBUG (MainThread) [intex_spa.intex_spa] 'preset_temp' intent: new status is rendered
2022-11-21 12:15:32.745 DEBUG (MainThread) [custom_components.intex_spa] Manually updated intex_spa data
2022-11-21 12:16:02.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:16:02.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:16:02.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:16:02.002 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690293620019", "type": 1}'
2022-11-21 12:16:02.185 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293620019","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:16:02.186 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:16:02.186 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:16:02.186 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.186 seconds (success: True)
2022-11-21 12:16:32.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: Handling new intent...
2022-11-21 12:16:32.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: a spa query is needed
2022-11-21 12:16:32.001 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new spa query...
2022-11-21 12:16:32.002 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Sending bytes to the spa: b'{"data": "8888060FEE0F01DA", "sid": "16690293920019", "type": 1}'
2022-11-21 12:16:32.284 DEBUG (MainThread) [intex_spa.intex_spa_network_layer] Receiving bytes from the spa: b'{"sid":"16690293920019","data":"FFFF110F010100150000000080808026000021","result":"ok","type":2}\n'
2022-11-21 12:16:32.284 DEBUG (MainThread) [intex_spa.intex_spa_object_status] Spa status: '{'power': True, 'filter': False, 'heater': False, 'jets': False, 'bubbles': False, 'sanitizer': False, 'unit': '°C', 'current_temp': 21, 'preset_temp': 38, 'error_code': False}'
2022-11-21 12:16:32.285 DEBUG (MainThread) [intex_spa.intex_spa] 'status' intent: new status is rendered
2022-11-21 12:16:32.285 DEBUG (MainThread) [custom_components.intex_spa] Finished fetching intex_spa data in 0.284 seconds (success: True)
here a historic we see the change when i move commend set
@mathieu-mp Hi, i think, it was the same for me, i forgot to report it. If i remember correctly, the spa unit itself keeps sending back the same temperature in it's status, until you send some new command and it updates.
Hi @Elkropac , thanks for your participation. So the only wait to have current temp is to make an automatition that change comment set every time I want a status...
Hi, thank you for the logs !
The logs you provided look fine: Network returned status from the spa provides current temperature every 30 seconds, and after each command set.
I identified a bug in the version displayed by the logs (opened as #43). So, can you report your current homeassistant-intex-spa installed version, please ? Can you confirm you installed the integration from HACS ?
The historic you provided shows obvious time ranges when spa current temp is not updated. But it also shows at ~13:23 that spa temp has been updated. Did you send another command at that time, or did the update happen automatically ?
Hi @Elkropac,
@mathieu-mp Hi, i think, it was the same for me, i forgot to report it. If i remember correctly, the spa unit itself keeps sending back the same temperature in it's status, until you send some new command and it updates.
We had solved the issue #26. Didn't it solve the behavior you just described ? Do you have the same kind of erratic historic given by Geoff-Hz ?
The only wait to have current temp is to make an automatition that change comment set every time I want a status...
@Geoff-Hz, you should not have to do that, let's try and solve this issue !
@mathieu-mp
I installed the integration from HACS The version is V0.2.0
at 13:23 if I have good memory, I turn power On
Thanks for your help
The only wait to have current temp is to make an automatition that change comment set every time I want a status...
@Geoff-Hz, you should not have to do that, let's try and solve this issue !
Anyway, It's not possible to change command set by Automation ;-) I just try it now.
OK, and what if you graph current temperature from climate entity ?
@mathieu-mp If I understand well, it's the same graph
about 13:23, I confirm I turn it On
Is the first history from current temperature sensor entity, or from spa climate entity ?
Is the first history from current temperature sensor entity, or from spa climate entity ?
Is from spa climate entity.
I only active current temperature today
here is the graph
Hi @Elkropac,
@mathieu-mp Hi, i think, it was the same for me, i forgot to report it. If i remember correctly, the spa unit itself keeps sending back the same temperature in it's status, until you send some new command and it updates.
We had solved the issue #26. Didn't it solve the behavior you just described ? Do you have the same kind of erratic historic given by Geoff-Hz ?
Sorry not sure. It's few months and i cannot test now, spa is disassembled in storage.
But i think, i did not get any errors after your fix in #26. But the temperature was not updating either. I think, i was trying to query it from another machine, using the example scripts in your library and it showed, that spa unit keeps sending the same value. So it seemed like no bug in this intergration but in unit itself.
Hi all, If I understand, the issue come from the spa. the intergration check every 30 sec. What about if the intergration send 'ghost' modification? exemple: 1 sec of change commend set or filtering or ...
On my spa, Sanitizer look like doing nothing (I don't know what is it), but when I move this switch, spa update temp.
No, this looks like an integration issue. The spa answers correctly to commands and auto updates. I have to investigate this.
Does the sensor.spa_current_temperature auto update ?
Hi @mathieu-mp
Does the sensor.spa_current_temperature auto update ?
Nop, No update from sensor. For the moment, I make an automation that active Sanitizer for 2 seconds every 10 minutes. This Update the current temp.
Hi, whith the automatisation, it look like this note that filtering start for few second and we see some different temperature between on and off. Maybe is for this case that spa doesn't send back current temp. when filter is off, temperature is not realy de reality.
Hi @Geoff-Hz , I set my spa back for the summer... but I can't reproduce the behavior you are describing. Hence, reading the whole thread again, I assume you do power off your spa when unused. I never power it off, just stop features when I don't need them. Could you test if spa temperature auto updates when no feature is enabled, but the spa stays powered on?
Hi @mathieu-mp My spa is never power off too. Like @Elkropac said, I noted that If no command change is made, the temp doesn't updated.
(Si je ne fais aucune action de modification quelconque, il n'y a pas de changement de température)
I have the same issue with my Intex Greywood 2021 Spa. All controls work perfectly, but the current temperature (climate) isn’t auto-updated. I does update when i send a (any) command. I never turn the device off, only stop heating when not needed. While in heating it also doesn’t auto update the temperate in Home Asisstant so i don’t think it related to power status.
- When you enable heating, does the filter enables itself too?
- If not, what if the filter is enabled: does the temp auto-updates?
- Could you indicate which model you own, as per this message ?
Hello Just installed the spa outside, and configured your integration, many thanks. I also have the temperature not auto-updating. To answer your previous question : if I start the heater only from HA, yes the filter turns on by itself on the spa and the state of it in HA as well. My details ID MCU : OK040210172020082000010526 Intex app : Bubble SPA0526 Manuel ref : PureSpa Greywood Deluxe SB-HWF20 Spa ref : 28440
I am seeing a similar behaviour in the underlying python library https://github.com/mathieu-mp/intex-spa/issues/26 - I get around it by setting the temperature down one and then up one to force the updated temperature reading.
Hi @Geoff-Hz ,
I'm working on the assumption that the bug comes from the control panel firmware. This would change the way we can circumvent the issue:
- If it comes from the control panel, I can try to circumvent the issue
- If it doesn't come from the control panel, then I'll have to find a bug in the python module or the integration code.
According to your logs, your Spa UID seems to be 0K040210172020082000014318
.
Could you mention which is your Spa model please ?
I have to check back how the python integration behaves, so please :
- Could you send logs on an extended period of time (~2h) while powered on and heating?
- Please choose a period when the spa is actually heating, so that I know that I should see current_temperature increasing in the logs.
- Please disable the automation sanitizer "bypass".
- Could you provide the current_temp graph for this period, with the graph legend ?
Thank you very much, Mathieu.
Same in my setup. Temp is not refreshed withou command. My model is Pure Spa - Bubble Greywood Deluxe AP 4
Same in my setup. Temp is not refreshed withou command. My model is Pure Spa - Bubble Greywood Deluxe AP 4
Hi @karetaj ,
All model informations are useful, could you provide us with your:
Thanks
Same in my setup. Temp is not refreshed withou command. My model is Pure Spa - Bubble Greywood Deluxe AP 4
Hi @karetaj ,
All model informations are useful, could you provide us with your:
Thanks
Where i can found UID? I am checki g it in home assistant and cannot found it