syrhus / solax_inverter

Domoticz plugin for Solax inverters
1 stars 0 forks source link

Only Air Quality is added #1

Closed rhassing closed 3 years ago

rhassing commented 3 years ago

I have start using the plugin today, but I only get an Air Quality device. I can see I get the rest of the information, but it doesn't appear as a device:

2020-10-31 15:43:47.910 (Solax) Pushing 'onMessageCallback' on to queue 2020-10-31 15:43:47.910 (Solax) Processing 'onMessageCallback' message 2020-10-31 15:43:47.910 (Solax) Calling message handler 'onMessage'. 2020-10-31 15:43:47.911 (Solax) Current Inverter:1 2020-10-31 15:43:47.911 (Solax) uploadTime:2020-10-31 16:42:47 2020-10-31 15:43:47.911 (Solax) updateDevices called 2020-10-31 15:43:47.911 (Solax) nbInverters : 2 2020-10-31 15:43:47.912 (Solax) self.cumuls[0]= 1900 2020-10-31 15:43:47.912 (Solax) self.cumuls[2]= 1900 2020-10-31 15:43:47.912 (Solax) self.currents[0]= 27 2020-10-31 15:43:47.912 (Solax) self.currents[2]= 27 2020-10-31 15:43:47.912 (Solax) self.cumuls[1]= 1200 2020-10-31 15:43:47.912 (Solax) self.cumuls[2]= 3100 2020-10-31 15:43:47.912 (Solax) self.currents[1]= 0 2020-10-31 15:43:47.912 (Solax) self.currents[2]= 27 2020-10-31 15:43:47.912 (Solax) updateDevice called 1 2020-10-31 15:43:47.912 (Solax) strValue :27;1900 2020-10-31 15:43:47.913 (Solax - SXXXXXXXXX) Updating device from 0:'37;1900' to have values 0:'27;1900'. 2020-10-31 15:43:47.925 (Solax) Update 0:'27;1900' (Solax - SXXXXXXXXX) 2020-10-31 15:43:47.925 (Solax) updateDevice called 2 2020-10-31 15:43:47.925 (Solax) strValue :0;1200 2020-10-31 15:43:47.926 (Solax) updateDevice called 3 2020-10-31 15:43:47.926 (Solax) strValue :27;3100 2020-10-31 15:43:47.926 (Solax - Total) Updating device from 0:'37;3100' to have values 0:'27;3100'. 2020-10-31 15:43:47.938 (Solax) Update 0:'27;3100' (Solax - Total)

Is there anything I could be doeing wrong?

alexandreburza commented 3 years ago

Bonjour, même problème. Après recherche dans le code, ligne 120 le type d'appareils est noté 249 qui ne correspond pas à un onduleur, en le passant à 90 (énergie) j'arrive à avoir le compteur mais pas les autres valeurs. Je cherche déjà depuis quelque temps si quelqu'un a une idée . Cordialement Alexandre

syrhus commented 3 years ago

Désolé, en voulant améliorer le type, j'ai fait une erreur de saisie. Il faut remplacer par Type=243. Je modifie le code.