![]() |
|
I don't understand the #Enable error on the protocols. - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=72) +--- Forum: T16M (https://www.kincony.com/forum/forumdisplay.php?fid=73) +--- Thread: I don't understand the #Enable error on the protocols. (/showthread.php?tid=9142) |
I don't understand the #Enable error on the protocols. - H_spadacini - 03-19-2026 Quand je reprends le programme pour le T16M diffuse en exemple : https://devices.esphome.io/devices/kincony-t16m/ sur site GIT, or je reçois une erreur a la compilation de cet exemple : # Enable logging logger: # Enable Home Assistant API api: msg erreur C:\Users\Herve\Downloads\Kincony\T16M\Programme_Base_T16M\Programme_Base_T16M.ino:10:3: error: invalid preprocessing directive #Enable 10 | # Enable logging | ^~~~~~ C:\Users\Herve\Downloads\Kincony\T16M\Programme_Base_T16M\Programme_Base_T16M.ino:13:3: error: invalid preprocessing directive #Enable 13 | # Enable Home Assistant API | ^~~~~~ exit status 1 Compilation error: invalid preprocessing directive #EnableC:\Users\Herve\Downloads\Kincony\T16M\Programme_Base_T16M\Programme_Base_T16M.ino:10:3: error: invalid preprocessing directive #Enable 10 | # Enable logging | ^~~~~~ C:\Users\Herve\Downloads\Kincony\T16M\Programme_Base_T16M\Programme_Base_T16M.ino:13:3: error: invalid preprocessing directive #Enable 13 | # Enable Home Assistant API | ^~~~~~ exit status 1 Compilation error: invalid preprocessing directive #Enable comme je suis debutant en arduino/ESP32S3, il me semble que la syntaxe manquant devrait comprends une fonction disable par fonction mais sur pas encore un as en arduino..mdr j'ai besoin de votre lumiere merci d'avance. cela parce preparant le code pour le relay T16M. la config : AIO maitre , T16M : Esclave pour compense le manque d'entrées /sorties de l'aio Hybride en reseau modbus , avec un ecran 7 pouces en Modbus . pour la programmation suis partir sur un melange en arduino avec EditeurPlc pour la partir PLC. en autre , pour ce dernier , on doit declarer les variables externes ESP32S3, donc partir programmation sur le T16M me semble une bonne idee , merci de votre reponse. RE: I don't understand the #Enable error on the protocols. - admin - 03-19-2026 you can download KCS v3 firmware for T16M, here is KCS v3 online guide: https://www.kincony.com/how-to-use-kcsv3-firmware-esp32-board.html if you want use by ESPHome yaml, here is : https://www.kincony.com/forum/showthread.php?tid=7423 |