<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[tlf_check_frame() no correct frame &#x27;(null)&#x27;]]></title><description><![CDATA[<p dir="auto">salut<br />
j’essaye d’appliquer le super travail de Charles-Henri et je bute sur l’intégration dans ma base MySQL.</p>
<p dir="auto"><code>teleinfo -m t -q -v</code></p>
<h1>tlf_check_frame() no correct frame ‘(null)’<br />
Unknown column ‘PPOT’ in ‘field list’<br />
HCHP 018418659 =<br />
PTEC HP..<br />
IINST1 001 I<br />
IINST2 001 J<br />
IINST3 000 J<br />
IMAX1 030 3<br />
IMAX2 029 &lt;<br />
IMAX3 023 7<br />
PMAX 09620 7<br />
PAPP 00400 %<br />
HHPHC C .<br />
MOTDETAT 000000 B<br />
PPOT 00 #<br />
ADCO 040930031594 =<br />
OPTARIF HC.. &lt;<br />
ISOUSC 20 8<br />
HCHC 017952204 $<br />
HCHP 018418660 5<br />
PTEC HP..<br />
IINST1 001 I<br />
IINST2 001 J<br />
IINST3 000 J<br />
IMAX1 030 3<br />
IMAX2 029 &lt;<br />
IMAX3 023 7<br />
PMAX 09620 7<br />
PAPP 00410 &amp;<br />
HHPHC C .<br />
MOTDETAT 000000 B<br />
——————- Received 251 char Frame.<br />
ADCO 040930031594 =<br />
OPTARIF HC.. &lt;<br />
ISOUSC 20 8<br />
HCHC 017952204 $<br />
HCHP 018418660 5<br />
PTEC HP..<br />
IINST1 001 I<br />
IINST2 001 J<br />
IINST3 000 J<br />
IMAX1 030 3<br />
IMAX2 029 &lt;<br />
IMAX3 023 7<br />
PMAX 09620 7<br />
PAPP 00410 &amp;<br />
HHPHC C .<br />
MOTDETAT 000000 B<br />
PPOT 00 #<br />
——————-Frame OK<br />
INSERT INTO DbiTeleinfo<br />
(DATE,ADCO,OPTARIF,ISOUSC,HCHC,HCHP,PTEC,IINST1,IINST2,IINST3,IMAX1,IMAX2,IMAX3,PMAX,PAPP,HHPHC,MOTDETAT,PPOT)<br />
VALUES<br />
(NOW(),’040930031594′,’HC..’,’20’,’017952204′,’018418660′,’HP..’,’001′,’001′,’000′,’030′,’029′,’023′,’09620′,’00410′,’C’,’000000′,’00’);<br />
1054: Unknown column ‘PPOT’ in ‘field list’<br />
…<br />
…<br />
teleinfo 1.0.8 Statistics</h1>
<p dir="auto">Frames Sent : 0<br />
Frames checked : 1<br />
Frames OK : 1<br />
Checksum errors : 0<br />
Frame format Errors : 0<br />
Frame size Errors : 0<br />
MySQL init OK : 1<br />
MySQL init errors : 0<br />
MySQL connect OK : 1<br />
MySQL connect errors: 0<br />
MySQL queries OK : 0<br />
MySQL queries errors: 1<br />
EmonCMS total post : 0<br />
EmonCMS post OK : 0<br />
EmonCMS post errors : 0<br />
EmonCMS timeout : 0<br />
————————–<br />
Succeded to do my job</p>
<p dir="auto">Je suis en triphasé avec option HC/HP. Peut-être une adaptation à faire??!!</p>
<p dir="auto">j’ajoute juste que la table DbiTeleinfo est créée selon la description en fin d’<a href="http://hallard.me/teleinfo-emoncms/" target="_blank" rel="noopener noreferrer nofollow ugc">article</a><br />
et la connexion se fait bien…<br />
…j’ai suivi les explications à la lettre (vraiment bien documenté, bravo!)<br />
je ne comprends pas cette erreur champs PPOT…</p>
<p dir="auto">merci de toute aide</p>
]]></description><link>https://community.ch2i.eu/topic/43/tlf_check_frame-no-correct-frame-null</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 03:44:13 GMT</lastBuildDate><atom:link href="https://community.ch2i.eu/topic/43.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 May 2015 22:13:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to tlf_check_frame() no correct frame &#x27;(null)&#x27; on Thu, 07 May 2015 18:58:56 GMT]]></title><description><![CDATA[<p dir="auto">Super, c’est du support du tonnerre <img src="https://community.ch2i.eu/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=4874f384ba0" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title="😉" alt="😉" /><br />
J’ai ajouté le champ ‘PPOT’ et l’intégration se fait maintenant bien.<br />
Merci beaucoup</p>
<p dir="auto">Il y a bien toujours l’erreur “tlf_check_frame() no correct frame ‘(null)'”, mais c’est pas grave tant que çà envoie et stocke (MySQL/Emoncms)…</p>
]]></description><link>https://community.ch2i.eu/post/52</link><guid isPermaLink="true">https://community.ch2i.eu/post/52</guid><dc:creator><![CDATA[nickous]]></dc:creator><pubDate>Thu, 07 May 2015 18:58:56 GMT</pubDate></item><item><title><![CDATA[Reply to tlf_check_frame() no correct frame &#x27;(null)&#x27; on Wed, 06 May 2015 22:29:56 GMT]]></title><description><![CDATA[<p dir="auto">Salut,<br />
Disons que je me coucherais moins bête ce soir, tu viens de me faire découvrir le champ PPOT dont j’ignorais l’existence. C’est une étiquette spécifique à un contrat triphasé visiblement. C’est cool enfin un testeur en Tri <img src="https://community.ch2i.eu/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=4874f384ba0" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /><br />
Comme il n’existe pas dans la base, l’erreur provient de là.</p>
<p dir="auto">En revanche c’est une valeur Hexadécimale à convertir, donc je dois modifier le code pour cela et pour le moment je suis un peu pris par le temps. Néanmoins, pour régler ton problème (un gros quick &amp; dirty fix) est de créer ce champ (PPOT) de type varchar(2) dans ta base et ton problème sera réglé en attendant un vrai fix.</p>
<p dir="auto">soit tu l’ajoute à la main depuis un outil d’admin mysql soit tu ajoutes la ligne suivante dans le fichier de création après la ligne <code>IMAX3</code> et tu le relances (attention supprimer l’ancienne base DbiTeleinfo avant)</p>
<p dir="auto"><code>'PPOT' varchar(2) DEFAULT NULL,</code><br />
Attention bien mettre des backquotes pas des quotes ici çà passe pas avec les backquotes sur le forum<br />
Une fois Ok çà devrait fonctionner.</p>
<p dir="auto">Tiens nous au courant.</p>
]]></description><link>https://community.ch2i.eu/post/51</link><guid isPermaLink="true">https://community.ch2i.eu/post/51</guid><dc:creator><![CDATA[Charles]]></dc:creator><pubDate>Wed, 06 May 2015 22:29:56 GMT</pubDate></item></channel></rss>