Bravo, et super boulot
Je rajouterai également le statut : 210 « câble connecté, chargeur verrouillé »
C’est cette valeur que j’utilise pour programmer la charge après 22h (heures creuses tempo)
[2024-01-14 17:20:06][INFO] : CRON - Equipement 540 : Top_Cheffes_WallBox2 | autorefresh = */5 * * * *
[2024-01-14 17:20:06][INFO] : ***** DEBUT execute(refresh) *****
[2024-01-14 17:20:06][DEBUG] : getChargerStatus(431496)
[2024-01-14 17:20:06][DEBUG] : getWallboxToken(acme@acme.org)
[2024-01-14 17:20:07][INFO] : Authentification SUCCES
[2024-01-14 17:20:07][DEBUG] : chargerid : [431496]
[2024-01-14 17:20:07][DEBUG] : Conversion 2024-01-14 16:16:29 (UTC) en 14-01-2024 17:16:29 (Europe/Brussels)
[2024-01-14 17:20:07][INFO] : Enregistrement configuration : Copper Business SN XXXXX
[2024-01-14 17:20:07][DEBUG] : ******* preSave() *******
[2024-01-14 17:20:07][DEBUG] : ******* preUpdate() *******
[2024-01-14 17:20:07][DEBUG] : ******* postUpdate() *******
[2024-01-14 17:20:07][DEBUG] : ******* postSave() DEBUT *******
[2024-01-14 17:20:07][DEBUG] : mywallbox Object ( [id:protected] => 540 [name:protected] => Top_Cheffes_WallBox2 [logicalId:protected] => [generic_type:protected] => [object_id:protected] => 13 [eqType_name:protected] => mywallbox [isVisible:protected] => 1 [isEnable:protected] => 1 [configuration:protected] => Array ( [createtime] => 2024-01-13 18:50:43 [autorefresh] => */5 * * * * [chargerid] => 431496 [widgetTemplate] => 1 [updatetime] => 2024-01-14 12:19:39 [part_number] => CPB1-W-2-4-8-002-G [energy_price] => 0.2062 [software_currentVersion] => 5.17.87 [software_latestVersion] => 5.17.87 [maxValue] => 32 ) [timeout:protected] => [category:protected] => {"heating":"0","security":"0","energy":"1","light":"0","opening":"0","automatism":"0","multimedia":"0","default":"0"} [display:protected] => {"backGraph::info":0,"width":"672px","height":"452px"} [order:protected] => 17 [comment:protected] => [tags:protected] => [_debug:protected] => [_object:protected] => jeeObject Object ( [id:protected] => 13 [name:protected] => Garage [father_id:protected] => 1 [isVisible:protected] => 1 [position:protected] => 12 [configuration:protected] => {"parentNumber":2,"tagColor":"#000000","tagTextColor":"#FFFFFF","mobile::summaryTextColor":"","icon":"<i class=\"far fa-lemon\"><\/i>","hideOnDashboard":"0","useCustomColor":"0","summary::global::security":"1","summary::global::motion":"0","summary::global::door":"1","summary::global::windows":"0","summary::global::shutter":"0","summary::global::light":"1","summary::global::outlet":"0","summary::global::temperature":"1","summary::global::humidity":"0","summary::global::luminosity":"0","summary::global::power":"0","summary::hide::desktop::security":"0","summary::hide::desktop::motion":"0","summary::hide::desktop::door":"0","summary::hide::desktop::windows":"0","summary::hide::desktop::shutter":"0","summary::hide::desktop::light":"0","summary::hide::desktop::outlet":"0","summary::hide::desktop::temperature":"0","summary::hide::desktop::humidity":"0","summary::hide::desktop::luminosity":"0","summary::hide::desktop::power":"0","summary::hide::mobile::security":"0","summary::hide::mobile::motion":"0","summary::hide::mobile::door":"0","summary::hide::mobile::windows":"0","summary::hide::mobile::shutter":"0","summary::hide::mobile::light":"0","summary::hide::mobile::outlet":"0","summary::hide::mobile::temperature":"0","summary::hide::mobile::humidity":"0","summary::hide::mobile::luminosity":"0","summary::hide::mobile::power":"0","summary":{"security":[{"enable":"1","cmd":"#5321#","invert":"0"}],"motion":[],"door":[{"enable":"1","cmd":"#3991#","invert":"0"}],"windows":[],"shutter":[],"light":[{"enable":"1","cmd":"#4851#","invert":"0"}],"outlet":[{"enable":"1","cmd":"#5534#","invert":"0"}],"temperature":[{"enable":"1","cmd":"#5463#","invert":"0"}],"humidity":[],"luminosity":[],"power":[]},"hideOnOverview":"0","useBackground":"0","sendToHomebridge":"1","synthToAction":"synthToDashboard","synthToPlan":"3","synthToPlan3d":"4","info::type":"room","info::orientation":"270","info::space":"25"} [display:protected] => {"icon":"<i class=\"icon divers-fuel4\"><\/i>","tagColor":"#696969","tagTextColor":"#ebebeb","sendToApp":"1"} [image:protected] => [] [_child:protected] => Array ( ) [_changed:protected] => [_summaryChanged:protected] => ) [_needRefreshWidget:protected] => [_timeoutUpdated:protected] => [_batteryUpdated:protected] => [_changed:protected] => [_cmds] => Array ( [refresh..] => mywallboxCmd Object ( [id:protected] => 5848 [logicalId:protected] => refresh [generic_type:protected] => [eqType:protected] => mywallbox [name:protected] => Rafraîchir [order:protected] => 0 [type:protected] => action [subType:protected] => other [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => [configuration:protected] => Array ( [options] => Array ( [cmd_lier] => 0 [type] => 0 [afficher] => 0 [historiser] => 0 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 0 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"icon":"<i class=\"fas fa-sync\"><\/i>","showStatsOnmobile":0,"showStatsOndashboard":0,"invertBinary":"0"} [value:protected] => [isVisible:protected] => 1 [alert:protected] => [] [_collectDate:protected] => [_valueDate:protected] => [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [tokenhs..] => mywallboxCmd Object ( [id:protected] => 5867 [logicalId:protected] => tokenhs [generic_type:protected] => [eqType:protected] => mywallbox [name:protected] => Nombre erreur token [order:protected] => 19 [type:protected] => info [subType:protected] => numeric [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => [configuration:protected] => {"options":{"type":0,"afficher":0,"historiser":0,"min":0,"max":0,"inverser":0,"unite":0},"minValue":"","maxValue":""} [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"showStatsOnmobile":0,"showStatsOndashboard":0,"icon":"","invertBinary":"0"} [value:protected] => [isVisible:protected] => 0 [alert:protected] => [] [_collectDate:protected] => [_valueDate:protected] => [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [tokenhs..info] => mywallboxCmd Object ( [id:protected] => 5867 [logicalId:protected] => tokenhs [generic_type:protected] => [eqType:protected] => mywallbox [name:protected] => Nombre erreur token [order:protected] => 19 [type:protected] => info [subType:protected] => numeric [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => [configuration:protected] => Array ( [options] => Array ( [type] => 0 [afficher] => 0 [historiser] => 0 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 0 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"showStatsOnmobile":0,"showStatsOndashboard":0,"icon":"","invertBinary":"0"} [value:protected] => [isVisible:protected] => 0 [alert:protected] => [] [_collectDate:protected] => 2024-01-14 17:18:55 [_valueDate:protected] => 2024-01-13 18:52:33 [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [name..info] => mywallboxCmd Object ( [id:protected] => 5849 [logicalId:protected] => name [generic_type:protected] => GENERIC_INFO [eqType:protected] => mywallbox [name:protected] => Nom [order:protected] => 1 [type:protected] => info [subType:protected] => string [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => [configuration:protected] => Array ( [options] => Array ( [type] => 0 [afficher] => 0 [historiser] => 0 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 0 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"generic_type":"GENERIC_INFO","showStatsOnmobile":0,"showStatsOndashboard":0,"icon":"","invertBinary":"0"} [value:protected] => [isVisible:protected] => 1 [alert:protected] => [] [_collectDate:protected] => 2024-01-14 17:15:08 [_valueDate:protected] => 2024-01-13 18:52:32 [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [valmaxpower..info] => mywallboxCmd Object ( [id:protected] => 5858 [logicalId:protected] => valmaxpower [generic_type:protected] => [eqType:protected] => mywallbox [name:protected] => Valeur puissance maximum [order:protected] => 10 [type:protected] => info [subType:protected] => numeric [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => A [configuration:protected] => Array ( [options] => Array ( [type] => 0 [afficher] => 0 [historiser] => 0 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 1 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"showStatsOnmobile":0,"showStatsOndashboard":0,"icon":"","invertBinary":"0"} [value:protected] => [isVisible:protected] => 0 [alert:protected] => [] [_collectDate:protected] => 2024-01-14 17:15:08 [_valueDate:protected] => 2024-01-13 18:52:32 [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [lastsync..info] => mywallboxCmd Object ( [id:protected] => 5850 [logicalId:protected] => lastsync [generic_type:protected] => GENERIC_INFO [eqType:protected] => mywallbox [name:protected] => Dernière synchronisation [order:protected] => 2 [type:protected] => info [subType:protected] => string [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => [configuration:protected] => Array ( [options] => Array ( [type] => 0 [afficher] => 0 [historiser] => 0 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 0 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"generic_type":"GENERIC_INFO","showStatsOnmobile":0,"showStatsOndashboard":0,"icon":"","invertBinary":"0"} [value:protected] => [isVisible:protected] => 1 [alert:protected] => Array ( ) [_collectDate:protected] => 2024-01-14 17:20:07 [_valueDate:protected] => 2024-01-14 17:20:07 [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [lockcontrolid..info] => mywallboxCmd Object ( [id:protected] => 5853 [logicalId:protected] => lockcontrolid [generic_type:protected] => [eqType:protected] => mywallbox [name:protected] => Accès borne [order:protected] => 5 [type:protected] => info [subType:protected] => numeric [eqLogic_id:protected] => 540 [isHistorized:protected] => 0 [unite:protected] => [configuration:protected] => Array ( [options] => Array ( [type] => 0 [afficher] => 0 [historiser] => 0 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 0 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"default","mobile":"default"} [display:protected] => {"showStatsOnmobile":0,"showStatsOndashboard":0,"icon":"","invertBinary":"0"} [value:protected] => [isVisible:protected] => 0 [alert:protected] => [] [_collectDate:protected] => 2024-01-14 17:15:08 [_valueDate:protected] => 2024-01-13 19:15:08 [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) [signalwifi..info] => mywallboxCmd Object ( [id:protected] => 5862 [logicalId:protected] => signalwifi [generic_type:protected] => [eqType:protected] => mywallbox [name:protected] => Signal WiFi [order:protected] => 14 [type:protected] => info [subType:protected] => numeric [eqLogic_id:protected] => 540 [isHistorized:protected] => 1 [unite:protected] => % [configuration:protected] => Array ( [options] => Array ( [type] => 0 [afficher] => 1 [historiser] => 1 [min] => 0 [max] => 0 [inverser] => 0 [unite] => 1 ) [minValue] => [maxValue] => ) [template:protected] => {"dashboard":"core::line","mobile":"default"} [display:protected] => {"icon":"<i class=\"fas fa-wifi\"><\/i>","invertBinary":"0"} [value:protected] => [isVisible:protected] => 1 [alert:protected] => [] [_collectDate:protected] => 2024-01-14 17:15:08 [_valueDate:protected] => 2024-01-13 18:52:32 [_eqLogic:protected] => mywallbox Object *RECURSION* [_needRefreshWidget:protected] => [_needRefreshAlert:protected] => [_changed:protected] => ) ) )
[2024-01-14 17:20:07][DEBUG] : ******* postSave() FIN *******
[2024-01-14 17:20:07][DEBUG] : status[210] = LOCKED / chargecontrol-icon: fa-lock-open / text: Verrouillé
[2024-01-14 17:20:07][DEBUG] : état de la borne = Verrouiller
[2024-01-14 17:20:07][DEBUG] : totalcout (info) : 0
[2024-01-14 17:20:07][DEBUG] : reglage puissance: 29/32 A
[2024-01-14 17:20:07][DEBUG] : chargerType:
[2024-01-14 17:20:07][DEBUG] : wifiSignal: 0
[2024-01-14 17:20:07][DEBUG] : charging_time: 473658:08:04 => 1705169284s
[2024-01-14 17:20:07][DEBUG] : total Sessions: 4
[2024-01-14 17:20:07][DEBUG] : total chargingTime: 17:32:27
[2024-01-14 17:20:07][DEBUG] : total energy: 87068
[2024-01-14 17:20:07][DEBUG] : total cout: 0
[2024-01-14 17:20:07][DEBUG] : Coût énergétique: 0.2062 * 0 = 0
[2024-01-14 17:20:07][INFO] : ***** FIN execute(refresh) *****
[2024-01-14 17:20:42][DEBUG] : --DEBUT toHtml(1) : version=dashboard
[2024-01-14 17:20:42][DEBUG] : --FIN toHtml()