Sofar solar

Quand tu vas avec l’application dans ta centrale, tu vas sur « dispositif », tu cliques sur « inverter » et là tu as le menu avec « … » en haut à droite il y a étélécommande". De là tu peux aller consulter les paramètres de ton onduleur et modifier ceux que tu veux comme par exemple le mode de fonctionnement, le SOC mini de la batterie, …


Je pense que cest different je nai pas cette fonction

C’est bien solarman smart que tu as? Dans la version business cette télécommande n’apparait pas.

Oui c’est bien le smart mais les onduleurs EP et ES sont différent.
Ce n’est pas les mêmes table modbus il me semble et plein de chose diffère.

Bonsoir,

Je me rends compte aussi de bug sur la lecture.
Il semble que les données se mélange.
Quand la lecture de frequence passe sur le % de la batterie qui passe a la puissance des panneaux c’est étrange.
Cela vient du plugin ou de ma passerelle Rtu tcp ?

3066|[2023-09-06 20:58:38]DEBUG : http://localhost:80 "POST /plugins/mymodbus/core/php/jeemymodbus.php?apikey=sD9E4aSXLtWnaalBpq85uKEpiFMIEZvDbG6PADF66lryYEfDQbrGRSMYnmQPaJQp HTTP/1.1" 200 0
3067|[2023-09-06 20:58:42]DEBUG : PyModbusClient: *ONDULEUR* connect called
3068|[2023-09-06 20:58:42]DEBUG : PyModbusClient: *ONDULEUR* connecting...
3069|[2023-09-06 20:58:42]DEBUG : Connecting to 192.168.1.233:8899.
3070|[2023-09-06 20:58:42]DEBUG : Connecting.
3071|[2023-09-06 20:58:42]DEBUG : Client connected to modbus server
3072|[2023-09-06 20:58:42]INFO : Protocol made connection.
3073|[2023-09-06 20:58:42]INFO : Connected to 192.168.1.233:8899.
3074|[2023-09-06 20:58:42]DEBUG : send: 0x1 0x3 0x4 0x85 0x0 0x1 0x94 0xd3
3075|[2023-09-06 20:58:42]DEBUG : Adding transaction 1
3076|[2023-09-06 20:58:42]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3077|[2023-09-06 20:58:42]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3078|[2023-09-06 20:58:42]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3079|[2023-09-06 20:58:42]DEBUG : Frame advanced, resetting header!!
3080|[2023-09-06 20:58:42]DEBUG : Getting transaction 1
3081|[2023-09-06 20:58:42]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3082|[2023-09-06 20:58:42]DEBUG : [0]
3083|[2023-09-06 20:58:42]DEBUG : send: 0x1 0x3 0x6 0x8 0x0 0x1 0x5 0x40
3084|[2023-09-06 20:58:42]DEBUG : Adding transaction 1
3085|[2023-09-06 20:58:43]DEBUG : recv: 0x1 0x3 0x2 0x0 0x14 0xb8 0x4b
3086|[2023-09-06 20:58:43]DEBUG : Getting Frame - 0x3 0x2 0x0 0x14
3087|[2023-09-06 20:58:43]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3088|[2023-09-06 20:58:43]DEBUG : Frame advanced, resetting header!!
3089|[2023-09-06 20:58:43]DEBUG : Getting transaction 1
3090|[2023-09-06 20:58:43]DEBUG : Frame - [b'\x01\x03\x02\x00\x14\xb8K'] not ready
3091|[2023-09-06 20:58:43]DEBUG : [20]
3092|[2023-09-06 20:58:43]DEBUG : PyModbusClient: *ONDULEUR* read value for Batterie (command id 114): 20
3093|[2023-09-06 20:58:43]DEBUG : send: 0x1 0x3 0x5 0xc4 0x0 0x1 0xc5 0x3b
3094|[2023-09-06 20:58:43]DEBUG : Adding transaction 1
3095|[2023-09-06 20:58:43]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3096|[2023-09-06 20:58:43]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3097|[2023-09-06 20:58:43]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3098|[2023-09-06 20:58:43]DEBUG : Frame advanced, resetting header!!
3099|[2023-09-06 20:58:43]DEBUG : Getting transaction 1
3100|[2023-09-06 20:58:43]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3101|[2023-09-06 20:58:43]DEBUG : [0]
3102|[2023-09-06 20:58:43]DEBUG : PyModbusClient: *ONDULEUR* read value for Ppanneauxx (command id 135): 0
3103|[2023-09-06 20:58:43]DEBUG : send: 0x1 0x3 0x4 0x84 0x0 0x1 0xc5 0x13
3104|[2023-09-06 20:58:43]DEBUG : Adding transaction 1
3105|[2023-09-06 20:58:43]DEBUG : recv: 0x1 0x3 0x2 0x13 0x8a 0x34 0xd3
3106|[2023-09-06 20:58:43]DEBUG : Getting Frame - 0x3 0x2 0x13 0x8a
3107|[2023-09-06 20:58:43]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3108|[2023-09-06 20:58:43]DEBUG : Frame advanced, resetting header!!
3109|[2023-09-06 20:58:43]DEBUG : Getting transaction 1
3110|[2023-09-06 20:58:43]DEBUG : Frame - [b'\x01\x03\x02\x13\x8a4\xd3'] not ready
3111|[2023-09-06 20:58:43]DEBUG : [5002]
3112|[2023-09-06 20:58:43]DEBUG : PyModbusClient: *ONDULEUR* read value for frequence (command id 145): 5002
3113|[2023-09-06 20:58:43]DEBUG : send: 0x1 0x3 0x4 0x8a 0x0 0x1 0xa4 0xd0
3114|[2023-09-06 20:58:43]DEBUG : Adding transaction 1
3115|[2023-09-06 20:58:43]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3116|[2023-09-06 20:58:43]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3117|[2023-09-06 20:58:43]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3118|[2023-09-06 20:58:43]DEBUG : Frame advanced, resetting header!!
3119|[2023-09-06 20:58:43]DEBUG : Getting transaction 1
3120|[2023-09-06 20:58:43]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3121|[2023-09-06 20:58:43]DEBUG : [0]
3122|[2023-09-06 20:58:43]DEBUG : send: 0x1 0x3 0x4 0x89 0x0 0x1 0x54 0xd0
3123|[2023-09-06 20:58:43]DEBUG : Adding transaction 1
3124|[2023-09-06 20:58:43]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3125|[2023-09-06 20:58:43]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3126|[2023-09-06 20:58:43]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3127|[2023-09-06 20:58:43]DEBUG : Frame advanced, resetting header!!
3128|[2023-09-06 20:58:43]DEBUG : Getting transaction 1
3129|[2023-09-06 20:58:43]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3130|[2023-09-06 20:58:43]DEBUG : [0]
3131|[2023-09-06 20:58:43]INFO : Send to jeedom :  {'eqId': '23', 'values': {'114': 20, '135': 0, '145': 5002}}
3132|[2023-09-06 20:58:43]DEBUG : PyModbusClient: *ONDULEUR* disconnect called
3133|[2023-09-06 20:58:43]INFO : Protocol lost connection.
3134|[2023-09-06 20:58:43]DEBUG : Client disconnected from modbus server: None
3135|[2023-09-06 20:58:43]DEBUG : Starting new HTTP connection (1): localhost:80
3136|[2023-09-06 20:58:43]DEBUG : jeemymodbus.php: $result *{"eqId":"23","values":{"114":20,"135":0,"145":5002}}* type: array
3137|[2023-09-06 20:58:43]DEBUG : jeemodbus.php: Mise à jour cmd Batterie -> new value: 20
3138|[2023-09-06 20:58:43]DEBUG : jeemodbus.php: Mise à jour cmd Ppanneauxx -> new value: 0
3139|[2023-09-06 20:58:43]DEBUG : jeemodbus.php: Mise à jour cmd frequence -> new value: 50.02
3140|[2023-09-06 20:58:43]INFO : jeemodbus.php: Mise à jour des commandes info : 'Batterie' 'Ppanneauxx' 'frequence'
3141|[2023-09-06 20:58:43]DEBUG : http://localhost:80 "POST /plugins/mymodbus/core/php/jeemymodbus.php?apikey=sD9E4aSXLtWnaalBpq85uKEpiFMIEZvDbG6PADF66lryYEfDQbrGRSMYnmQPaJQp HTTP/1.1" 200 0
3142|[2023-09-06 20:58:47]DEBUG : PyModbusClient: *ONDULEUR* connect called
3143|[2023-09-06 20:58:47]DEBUG : PyModbusClient: *ONDULEUR* connecting...
3144|[2023-09-06 20:58:47]DEBUG : Connecting to 192.168.1.233:8899.
3145|[2023-09-06 20:58:47]DEBUG : Connecting.
3146|[2023-09-06 20:58:47]DEBUG : Client connected to modbus server
3147|[2023-09-06 20:58:47]INFO : Protocol made connection.
3148|[2023-09-06 20:58:47]INFO : Connected to 192.168.1.233:8899.
3149|[2023-09-06 20:58:47]DEBUG : send: 0x1 0x3 0x4 0x85 0x0 0x1 0x94 0xd3
3150|[2023-09-06 20:58:47]DEBUG : Adding transaction 1
3151|[2023-09-06 20:58:48]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3152|[2023-09-06 20:58:48]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3153|[2023-09-06 20:58:48]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3154|[2023-09-06 20:58:48]DEBUG : Frame advanced, resetting header!!
3155|[2023-09-06 20:58:48]DEBUG : Getting transaction 1
3156|[2023-09-06 20:58:48]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3157|[2023-09-06 20:58:48]DEBUG : [0]
3158|[2023-09-06 20:58:48]DEBUG : send: 0x1 0x3 0x6 0x8 0x0 0x1 0x5 0x40
3159|[2023-09-06 20:58:48]DEBUG : Adding transaction 1
3160|[2023-09-06 20:58:48]DEBUG : recv: 0x1 0x3 0x2 0x0 0x14 0xb8 0x4b
3161|[2023-09-06 20:58:48]DEBUG : Getting Frame - 0x3 0x2 0x0 0x14
3162|[2023-09-06 20:58:48]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3163|[2023-09-06 20:58:48]DEBUG : Frame advanced, resetting header!!
3164|[2023-09-06 20:58:48]DEBUG : Getting transaction 1
3165|[2023-09-06 20:58:48]DEBUG : Frame - [b'\x01\x03\x02\x00\x14\xb8K'] not ready
3166|[2023-09-06 20:58:48]DEBUG : [20]
3167|[2023-09-06 20:58:48]DEBUG : send: 0x1 0x3 0x5 0xc4 0x0 0x1 0xc5 0x3b
3168|[2023-09-06 20:58:48]DEBUG : Adding transaction 1
3169|[2023-09-06 20:58:48]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3170|[2023-09-06 20:58:48]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3171|[2023-09-06 20:58:48]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3172|[2023-09-06 20:58:48]DEBUG : Frame advanced, resetting header!!
3173|[2023-09-06 20:58:48]DEBUG : Getting transaction 1
3174|[2023-09-06 20:58:48]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3175|[2023-09-06 20:58:48]DEBUG : [0]
3176|[2023-09-06 20:58:48]DEBUG : send: 0x1 0x3 0x4 0x84 0x0 0x1 0xc5 0x13
3177|[2023-09-06 20:58:48]DEBUG : Adding transaction 1
3178|[2023-09-06 20:58:48]DEBUG : recv: 0x1 0x3 0x2 0x13 0x8c 0xb4 0xd1
3179|[2023-09-06 20:58:48]DEBUG : Getting Frame - 0x3 0x2 0x13 0x8c
3180|[2023-09-06 20:58:48]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3181|[2023-09-06 20:58:48]DEBUG : Frame advanced, resetting header!!
3182|[2023-09-06 20:58:48]DEBUG : Getting transaction 1
3183|[2023-09-06 20:58:48]DEBUG : Frame - [b'\x01\x03\x02\x13\x8c\xb4\xd1'] not ready
3184|[2023-09-06 20:58:48]DEBUG : [5004]
3185|[2023-09-06 20:58:48]DEBUG : PyModbusClient: *ONDULEUR* read value for frequence (command id 145): 5004
3186|[2023-09-06 20:58:48]DEBUG : send: 0x1 0x3 0x4 0x8a 0x0 0x1 0xa4 0xd0
3187|[2023-09-06 20:58:48]DEBUG : Adding transaction 1
3188|[2023-09-06 20:58:48]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3189|[2023-09-06 20:58:48]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3190|[2023-09-06 20:58:48]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3191|[2023-09-06 20:58:48]DEBUG : Frame advanced, resetting header!!
3192|[2023-09-06 20:58:48]DEBUG : Getting transaction 1
3193|[2023-09-06 20:58:48]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3194|[2023-09-06 20:58:48]DEBUG : [0]
3195|[2023-09-06 20:58:48]DEBUG : send: 0x1 0x3 0x4 0x89 0x0 0x1 0x54 0xd0
3196|[2023-09-06 20:58:48]DEBUG : Adding transaction 1
3197|[2023-09-06 20:58:48]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3198|[2023-09-06 20:58:48]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3199|[2023-09-06 20:58:48]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3200|[2023-09-06 20:58:48]DEBUG : Frame advanced, resetting header!!
3201|[2023-09-06 20:58:48]DEBUG : Getting transaction 1
3202|[2023-09-06 20:58:48]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3203|[2023-09-06 20:58:48]DEBUG : [0]
3204|[2023-09-06 20:58:48]INFO : Send to jeedom :  {'eqId': '23', 'values': {'145': 5004, 'cycle_time': 5.036469554901123}}
3205|[2023-09-06 20:58:48]DEBUG : PyModbusClient: *ONDULEUR* disconnect called
3206|[2023-09-06 20:58:48]INFO : Protocol lost connection.
3207|[2023-09-06 20:58:48]DEBUG : Client disconnected from modbus server: None
3208|[2023-09-06 20:58:48]DEBUG : Starting new HTTP connection (1): localhost:80
3209|[2023-09-06 20:58:48]DEBUG : jeemymodbus.php: $result *{"eqId":"23","values":{"145":5004,"cycle_time":5.036469554901123}}* type: array
3210|[2023-09-06 20:58:48]DEBUG : jeemodbus.php: Mise à jour cmd frequence -> new value: 50.04
3211|[2023-09-06 20:58:48]DEBUG : jeemodbus.php: Mise à jour cmd Temps de rafraîchissement -> new value: 5.036
3212|[2023-09-06 20:58:48]INFO : jeemodbus.php: Mise à jour des commandes info : 'frequence' 'Temps de rafraîchissement'
3213|[2023-09-06 20:58:48]DEBUG : http://localhost:80 "POST /plugins/mymodbus/core/php/jeemymodbus.php?apikey=sD9E4aSXLtWnaalBpq85uKEpiFMIEZvDbG6PADF66lryYEfDQbrGRSMYnmQPaJQp HTTP/1.1" 200 0
3214|[2023-09-06 20:58:52]DEBUG : PyModbusClient: *ONDULEUR* connect called
3215|[2023-09-06 20:58:52]DEBUG : PyModbusClient: *ONDULEUR* connecting...
3216|[2023-09-06 20:58:52]DEBUG : Connecting to 192.168.1.233:8899.
3217|[2023-09-06 20:58:52]DEBUG : Connecting.
3218|[2023-09-06 20:58:52]DEBUG : Client connected to modbus server
3219|[2023-09-06 20:58:52]INFO : Protocol made connection.
3220|[2023-09-06 20:58:52]INFO : Connected to 192.168.1.233:8899.
3221|[2023-09-06 20:58:52]DEBUG : send: 0x1 0x3 0x4 0x85 0x0 0x1 0x94 0xd3
3222|[2023-09-06 20:58:52]DEBUG : Adding transaction 1
3223|[2023-09-06 20:58:53]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3224|[2023-09-06 20:58:53]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3225|[2023-09-06 20:58:53]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3226|[2023-09-06 20:58:53]DEBUG : Frame advanced, resetting header!!
3227|[2023-09-06 20:58:53]DEBUG : Getting transaction 1
3228|[2023-09-06 20:58:53]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3229|[2023-09-06 20:58:53]DEBUG : [0]
3230|[2023-09-06 20:58:53]DEBUG : send: 0x1 0x3 0x6 0x8 0x0 0x1 0x5 0x40
3231|[2023-09-06 20:58:53]DEBUG : Adding transaction 1
3232|[2023-09-06 20:58:56]INFO : Protocol lost connection.
3233|[2023-09-06 20:58:56]DEBUG : Client disconnected from modbus server: trying to send
3234|[2023-09-06 20:58:56]DEBUG : Getting transaction 1
3235|[2023-09-06 20:58:56]ERROR : PyModbusClient: *ONDULEUR* Something went wrong while reading Batterie (command id 114): <class 'asyncio.exceptions.TimeoutError'>  = . Traceback: <traceback object at 0x7fb12d47bdc0>
3236|[2023-09-06 20:58:56]ERROR : PyModbusClient: *ONDULEUR* Something went wrong while reading Ppanneauxx (command id 135): <class 'pymodbus.exceptions.ConnectionException'>  = Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.1.233:8899]. Traceback: <traceback object at 0x7fb12d48f1c0>
3237|[2023-09-06 20:58:56]ERROR : PyModbusClient: *ONDULEUR* Something went wrong while reading frequence (command id 145): <class 'pymodbus.exceptions.ConnectionException'>  = Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.1.233:8899]. Traceback: <traceback object at 0x7fb12d8d1680>
3238|[2023-09-06 20:58:56]ERROR : PyModbusClient: *ONDULEUR* Something went wrong while reading test (command id 146): <class 'pymodbus.exceptions.ConnectionException'>  = Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.1.233:8899]. Traceback: <traceback object at 0x7fb12d48f1c0>
3239|[2023-09-06 20:58:56]ERROR : PyModbusClient: *ONDULEUR* Something went wrong while reading test1 (command id 147): <class 'pymodbus.exceptions.ConnectionException'>  = Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.1.233:8899]. Traceback: <traceback object at 0x7fb12d8d1680>
3240|[2023-09-06 20:58:56]DEBUG : PyModbusClient: *ONDULEUR* disconnect called
3241|[2023-09-06 20:58:57]DEBUG : PyModbusClient: *ONDULEUR* connect called
3242|[2023-09-06 20:58:57]DEBUG : PyModbusClient: *ONDULEUR* connecting...
3243|[2023-09-06 20:58:57]DEBUG : Connecting to 192.168.1.233:8899.
3244|[2023-09-06 20:58:57]DEBUG : Connecting.
3245|[2023-09-06 20:58:57]INFO : Protocol lost connection.
3246|[2023-09-06 20:58:57]DEBUG : Client disconnected from modbus server: None
3247|[2023-09-06 20:58:57]DEBUG : Client connected to modbus server
3248|[2023-09-06 20:58:57]INFO : Protocol made connection.
3249|[2023-09-06 20:58:58]INFO : Connected to 192.168.1.233:8899.
3250|[2023-09-06 20:58:58]DEBUG : send: 0x1 0x3 0x4 0x85 0x0 0x1 0x94 0xd3
3251|[2023-09-06 20:58:58]DEBUG : Adding transaction 1
3252|[2023-09-06 20:58:58]DEBUG : recv: 0x1 0x3 0x2 0x0 0x14 0xb8 0x4b
3253|[2023-09-06 20:58:58]DEBUG : Getting Frame - 0x3 0x2 0x0 0x14
3254|[2023-09-06 20:58:58]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3255|[2023-09-06 20:58:58]DEBUG : Frame advanced, resetting header!!
3256|[2023-09-06 20:58:58]DEBUG : Getting transaction 1
3257|[2023-09-06 20:58:58]DEBUG : Frame - [b'\x01\x03\x02\x00\x14\xb8K'] not ready
3258|[2023-09-06 20:58:58]DEBUG : [20]
3259|[2023-09-06 20:58:58]DEBUG : PyModbusClient: *ONDULEUR* read value for Psortie onduleur (command id 113): 20
3260|[2023-09-06 20:58:58]DEBUG : send: 0x1 0x3 0x6 0x8 0x0 0x1 0x5 0x40
3261|[2023-09-06 20:58:58]DEBUG : Adding transaction 1
3262|[2023-09-06 20:58:58]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3263|[2023-09-06 20:58:58]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3264|[2023-09-06 20:58:58]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3265|[2023-09-06 20:58:58]DEBUG : Frame advanced, resetting header!!
3266|[2023-09-06 20:58:58]DEBUG : Getting transaction 1
3267|[2023-09-06 20:58:58]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3268|[2023-09-06 20:58:58]DEBUG : [0]
3269|[2023-09-06 20:58:58]DEBUG : PyModbusClient: *ONDULEUR* read value for Batterie (command id 114): 0
3270|[2023-09-06 20:58:58]DEBUG : send: 0x1 0x3 0x5 0xc4 0x0 0x1 0xc5 0x3b
3271|[2023-09-06 20:58:58]DEBUG : Adding transaction 1
3272|[2023-09-06 20:58:58]DEBUG : recv: 0x1 0x3 0x2 0x0 0x14 0xb8 0x4b
3273|[2023-09-06 20:58:58]DEBUG : Getting Frame - 0x3 0x2 0x0 0x14
3274|[2023-09-06 20:58:58]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3275|[2023-09-06 20:58:58]DEBUG : Frame advanced, resetting header!!
3276|[2023-09-06 20:58:58]DEBUG : Getting transaction 1
3277|[2023-09-06 20:58:58]DEBUG : Frame - [b'\x01\x03\x02\x00\x14\xb8K'] not ready
3278|[2023-09-06 20:58:58]DEBUG : [20]
3279|[2023-09-06 20:58:58]DEBUG : PyModbusClient: *ONDULEUR* read value for Ppanneauxx (command id 135): 20
3280|[2023-09-06 20:58:58]DEBUG : send: 0x1 0x3 0x4 0x84 0x0 0x1 0xc5 0x13
3281|[2023-09-06 20:58:58]DEBUG : Adding transaction 1
3282|[2023-09-06 20:58:58]DEBUG : recv: 0x1 0x3 0x2 0x13 0x8a 0x34 0xd3
3283|[2023-09-06 20:58:58]DEBUG : Getting Frame - 0x3 0x2 0x13 0x8a
3284|[2023-09-06 20:58:58]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3285|[2023-09-06 20:58:58]DEBUG : Frame advanced, resetting header!!
3286|[2023-09-06 20:58:58]DEBUG : Getting transaction 1
3287|[2023-09-06 20:58:58]DEBUG : Frame - [b'\x01\x03\x02\x13\x8a4\xd3'] not ready
3288|[2023-09-06 20:58:58]DEBUG : [5002]
3289|[2023-09-06 20:58:58]DEBUG : PyModbusClient: *ONDULEUR* read value for frequence (command id 145): 5002
3290|[2023-09-06 20:58:58]DEBUG : send: 0x1 0x3 0x4 0x8a 0x0 0x1 0xa4 0xd0
3291|[2023-09-06 20:58:58]DEBUG : Adding transaction 1
3292|[2023-09-06 20:58:58]INFO : Send to jeedom :  {'heartbeat_request': 1694026738}
3293|[2023-09-06 20:58:58]DEBUG : Starting new HTTP connection (1): localhost:80
3294|[2023-09-06 20:58:58]DEBUG : jeemymodbus.php: $result *{"heartbeat_request":1694026738}* type: array
3295|[2023-09-06 20:58:58]DEBUG : mymodbusd: Received message: {'CMD': 'heartbeat_answer', 'answer': 1694026738, 'apikey': 'sD9E4aSXLtWnaalBpq85uKEpiFMIEZvDbG6PADF66lryYEfDQbrGRSMYnmQPaJQp', 'dt': '2023-09-06T20:58:58+02:00'}
3296|[2023-09-06 20:58:58]DEBUG : http://localhost:80 "POST /plugins/mymodbus/core/php/jeemymodbus.php?apikey=sD9E4aSXLtWnaalBpq85uKEpiFMIEZvDbG6PADF66lryYEfDQbrGRSMYnmQPaJQp HTTP/1.1" 200 0

On peut le voir sur les lignes 3269 il annonce 0 alors quelles sont a 20% le 20 est transférer sur le Ppanneaux qui est a 0 normalement et on le voit plus haut les vrai valeurs.

En analysant ça :

3260|[2023-09-06 20:58:58]DEBUG : send: 0x1 0x3 0x6 0x8 0x0 0x1 0x5 0x40
3261|[2023-09-06 20:58:58]DEBUG : Adding transaction 1
3262|[2023-09-06 20:58:58]DEBUG : recv: 0x1 0x3 0x2 0x0 0x0 0xb8 0x44
3263|[2023-09-06 20:58:58]DEBUG : Getting Frame - 0x3 0x2 0x0 0x0
3264|[2023-09-06 20:58:58]DEBUG : Factory Response[ReadHoldingRegistersResponse': 3]
3265|[2023-09-06 20:58:58]DEBUG : Frame advanced, resetting header!!
3266|[2023-09-06 20:58:58]DEBUG : Getting transaction 1
3267|[2023-09-06 20:58:58]DEBUG : Frame - [b'\x01\x03\x02\x00\x00\xb8D'] not ready
3268|[2023-09-06 20:58:58]DEBUG : [0]
3269|[2023-09-06 20:58:58]DEBUG : PyModbusClient: *ONDULEUR* read value for Batterie (command id 114): 0

Je ne vois pas de décalage. Il lit à l’adresse 0x608 soit 1544 ce qui correspond à la commande Batterie. Le fait que la valeur soit à 0 alors qu’elle devrait être à 20 est peut-être lié à la passerelle, mais j’en suis pas sûr. J’ai la même passerelle et je n’ai jamais constaté ça.
Vous avez regardé pour mettre le firmware à jour ?

oui @Michel_F j’étais en train de me poser la même question, est ce qu’il n’y aurait pas un pb côté onduleur?

Possible aussi…

Je ne veux pas rejeter la faute, mais il semblerait que MyModbus fait son job. Ce serait intéressant de faire les mêmes lectures avec Modbus Doctor.

C’est ce que j’avais proposé

Bonjour,

Merci de vos reponses.
Jai modifier la passerelle et je l ai passer de mode transparente a modbus tcp vers rtu.
Les donnees semblaient plus stable.
Jai essaye de voir si il y avait un firmware sur la passerelle mais apparement non.
Je suis en train de mettre a jour le firmware de l onduleur.
Jai essayé avec modbus doctor. Les valeurs des registre qui sortais 0 sur mymodbus sort 0 aussi sur modbus doctor.
Je pencherais du coup a un pb onduleur.
Je vous tiens au courant quand jai fini les maj.
Merci.

Bon ça n’a pas l’air de marcher…


Voici ce que dit modbus doctor

Est ce que tu connais l’adresse IP de ton dongle wifi? Pas celle de l’onduleur. Je viens d’avoir connaissance d’une possibilité d’interroger l’onduleur directement en wifi par le dongle

Je vais essayer de faire soit un plugin soit un script pour pouvoir interroger par ce moyen

Bonjour,

Oui je la connais, je crois que quelquun a deja fait un script pour home assistant sous python je pense que cest assez facile a trouver.

Tu peux donc essayer pour voir si ça vient du port de l’onduleur ou si c’est général. Les données sont bonnes sur l’appli solarman?

Bonjour,

merci pour ce sujet et ce fichier de la table de registres modbus pour le HYDxxxxEP
je chercher à savoir comment vous faites par l’ethernet? ou en tout cas le wifi
car j’ai le dongle wifi de Sofar livré avec l’appareil,
vous avez pu faire quelque chose?
j’y arrive en Rs485,
merci

Pour le wifi il faut que tu fasses avec le plugin solarman