lionelbeard / openhab-myhome

My home automation config for openHAB
1 stars 0 forks source link

openhab.cfg ?? #18

Open Jetblack31 opened 7 years ago

Jetblack31 commented 7 years ago

Hi,

An Airzone system will be installed in my house soon and I plan to configure my Openhab system to control it. You did a heck of a job and your files are a good starting point for me !! Would it be possible to have access to your openhab.cfg file ? At least the part showing the modbus slaves configuration ? Thank you very much ! By the way, you mention and use some registers that are not described in the Arzone modbus manual, such as air temperature at the input of the duct unit. Could you give a link to these information ? Thank you ! Jetblack (I am located in Toulouse, France, et j'aurais pu écrire en Français ;) )

lionelbeard commented 7 years ago

Hi,

Bon en fait, je crois que je vais écrire en français plutôt ce sera plus simple :-) Le plus drôle est que j'habite également du côté de Toulouse, à Carbonne plus précisément...

Effectivement, je n'ai pas mis le fichier openhab.cfg sur github, car il peut contenir des informations "sensibles". Donc, voici la partie concernant le binding modbus: ############################### Modbus Binding ######################################## #

sets refresh interval to Modbus polling service.

Value in milliseconds (optional, defaults to 200)

modbus:poll=

host (mandatory)

modbus:slave1.host=

The data type, can be "coil" "discrete" "holding" "input"

modbus:slave1.type=

the TCP port (optional, defaults to '502')

modbus:slave1.port=

The slave id (optional, defaults to '1')

modbus:slave1.id=

The slave start address (optional, defaults to '0')

modbus:slave1.start=

The number of data item to read

(optional, defaults to '0' - but set it to something meaningful)

modbus:slave1.length=

modbus:poll=5000

System

modbus:serial.slaveSystem.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveSystem.start=0 modbus:serial.slaveSystem.length=25 modbus:serial.slaveSystem.type=holding

Zone 1

modbus:serial.slaveZone1.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone1.start=256 modbus:serial.slaveZone1.length=14 modbus:serial.slaveZone1.type=holding

Zone 2

modbus:serial.slaveZone2.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone2.start=512 modbus:serial.slaveZone2.length=14 modbus:serial.slaveZone2.type=holding

Zone 3

modbus:serial.slaveZone3.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone3.start=768 modbus:serial.slaveZone3.length=14 modbus:serial.slaveZone3.type=holding

Zone 4

modbus:serial.slaveZone4.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone4.start=1024 modbus:serial.slaveZone4.length=14 modbus:serial.slaveZone4.type=holding

Zone 5

modbus:serial.slaveZone5.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone5.start=1280 modbus:serial.slaveZone5.length=14 modbus:serial.slaveZone5.type=holding

Zone 6

modbus:serial.slaveZone6.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone6.start=1536 modbus:serial.slaveZone6.length=14 modbus:serial.slaveZone6.type=holding

Pour la température de reprise, je me suis basé sur la doc ci-jointe, qu'Airzone m'a fourni. Un must-have si tu ne l'as pas déjà. Pour info, ma platine Airzone est une FLEXA2.0/InnobusPro 6. Tu trouveras le registre en question, page 12, adresse 08: "Return probe temperature". Le fait que la platine retourne des valeurs au bit entraîne quelques petits traitements que tu trouveras dans mon fichier de rules (avec les commandes shift et bitwise).

En tout cas, je suis content de voir que mon travail peut aider d'autres personnes :-)

Bon courage, et surtout n'hésite pas si tu as des questions.

PS: bon choix pour Airzone, j'en suis très content, fonctionne très bien! Et la connexion modbus est vraiment un plus. PS2: ma config sur github tourne sous OpenHAB1, je n'ai pas encore réussi à migrer sous OpenHAB2 (je n'ai plus aucun événement sur les périphériques USB). Tu utilises quelle version d'openHAB?

Lionel

2017-05-21 21:27 GMT+02:00 Jetblack31 notifications@github.com:

Hi,

An Airzone system will be installed in my house soon and I plan to configure my Openhab system to control it. You did a heck of a job and your files are a good starting point for me !! Would it be possible to have access to your openhab.cfg file ? At least the part showing the modbus slaves configuration ? Thank you very much ! By the way, you mention and use some registers that are not described in the Arzone modbus manual, such as air temperature at the input of the duct unit. Could you give a link to these information ? Thank you ! Jetblack (I am located in Toulouse, France)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xiboy/openhab-myhome/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/AIml5zOlU3wgSZ6suMrYOpWtMtnJlBoSks5r8JA-gaJpZM4Nhse5 .

Jetblack31 commented 7 years ago

Bonjour Lionel,

Merci beaucoup pour ta réponse rapide ! Et aussi pour le fichier cfg qui m'aidera beaucoup ! Pour ma part, j'habite à Lavernose-Lacasse, donc nous ne sommes vraiment pas loin l'un de l'autre !!

Actuellement j'utilise OH1 en production depuis 3 ans sur un raspberry 2, ca fonctionne parfaitement. J'ai un système en test sous OH2 qui fonctionne et j'arrive à accéder aux ports USB. Je compte migrer définitivement sous OH2 lorsque j'aurai le système de climatisation opérationnel. J'en profite pour remettre ma config et mes règles au propre, car généralement je ne code pas très proprement ;) c'est plutôt bidouille... Actuellement j'utilise différents bindings sous OH1 : IPX800, TCP, HTTP, exec, MySensors, Squeezebox... Je fais pas mal de choses moi-même (RF433 MHz, multiroom audio, noeuds de capteurs MySensors...), je suis électronicien de formation et j'aime bcp ce genre de bricolage ;) J'utilise aussi le dashboard suivant : https://github.com/smar000/openhab-dashboard Je le trouve très esthétique, il faut cependant un peu de temps pour l'installer et le prendre en main...

Mon système sera un plenum EasyZone 8 sorties mais 6 zones (3 bouches sur la même zone du séjour), basé sur un PRO6, avec thermostats BlueFace et Think. Le groupe de clim est un Hitachi IVX confort de 11 kW (10.2 kW en chaud à -7°C). J'ai longtemps hésité entre Airzone et la solution ZoneControl d'Atlantic Fujitsu qui me semble techniquement plus aboutie en terme de contrôle et d'intégration avec le groupe de climatisation, mais Airzone semble avoir beaucoup plus de recul et d'expérience dans le domaine... Je pense qu'on sera content du système, actuellement on n'a pas de clim et pour le chauffage c'est foyer au bois + radiateurs électriques...

Le fichier Airzone dont tu parles n'est pas joint au mail, peut être que les pièces jointes ne passent pas par GitHub ? Voila mon email : perso@bernard-legrand.net , si tu peux me l'envoyer de nouveau à cette adresse, ce serait super !

Par ailleurs, tu fais tourner OH sur quelle plateforme ? J'ai un peu d'expérience sur la gestion USB sous Linux, peut-être pourrais-je t'aider à débloquer ton Pb pour OH2.... Ceci dit OH2 m'énerve un peu car on ne peut pas tout faire encore via la configuration graphique et gérer les items à la fois dans l'interface et à la fois dans les fichiers texte c'est un peu pénible et on finit par s'y perdre à ne plus savoir qui est où... Pour ma part, j'ai pour l'instant commandé une interface modbus / USB sur aliexpress... j'attends que ca arrive, on verra ce que ca donne.

Merci encore pour tout, Bonne journée, Bernard

Le 22 mai 2017 à 00:21, xiboy notifications@github.com a écrit :

Hi,

Bon en fait, je crois que je vais écrire en français plutôt ce sera plus simple :-) Le plus drôle est que j'habite également du côté de Toulouse, à Carbonne plus précisément...

Effectivement, je n'ai pas mis le fichier openhab.cfg sur github, car il peut contenir des informations "sensibles". Donc, voici la partie concernant le binding modbus: ############################### Modbus Binding ######################################## #

sets refresh interval to Modbus polling service.

Value in milliseconds (optional, defaults to 200)

modbus:poll=

host (mandatory)

modbus:slave1.host=

The data type, can be "coil" "discrete" "holding" "input"

modbus:slave1.type=

the TCP port (optional, defaults to '502')

modbus:slave1.port=

The slave id (optional, defaults to '1')

modbus:slave1.id=

The slave start address (optional, defaults to '0')

modbus:slave1.start=

The number of data item to read

(optional, defaults to '0' - but set it to something meaningful)

modbus:slave1.length=

modbus:poll=5000

System

modbus:serial.slaveSystem.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveSystem.start=0 modbus:serial.slaveSystem.length=25 modbus:serial.slaveSystem.type=holding

Zone 1

modbus:serial.slaveZone1.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone1.start=256 modbus:serial.slaveZone1.length=14 modbus:serial.slaveZone1.type=holding

Zone 2

modbus:serial.slaveZone2.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone2.start=512 modbus:serial.slaveZone2.length=14 modbus:serial.slaveZone2.type=holding

Zone 3

modbus:serial.slaveZone3.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone3.start=768 modbus:serial.slaveZone3.length=14 modbus:serial.slaveZone3.type=holding

Zone 4

modbus:serial.slaveZone4.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone4.start=1024 modbus:serial.slaveZone4.length=14 modbus:serial.slaveZone4.type=holding

Zone 5

modbus:serial.slaveZone5.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone5.start=1280 modbus:serial.slaveZone5.length=14 modbus:serial.slaveZone5.type=holding

Zone 6

modbus:serial.slaveZone6.connection=/dev/USBrs485:19200:8:even:1:rtu modbus:serial.slaveZone6.start=1536 modbus:serial.slaveZone6.length=14 modbus:serial.slaveZone6.type=holding

Pour la température de reprise, je me suis basé sur la doc ci-jointe, qu'Airzone m'a fourni. Un must-have si tu ne l'as pas déjà. Pour info, ma platine Airzone est une FLEXA2.0/InnobusPro 6. Tu trouveras le registre en question, page 12, adresse 08: "Return probe temperature". Le fait que la platine retourne des valeurs au bit entraîne quelques petits traitements que tu trouveras dans mon fichier de rules (avec les commandes shift et bitwise).

En tout cas, je suis content de voir que mon travail peut aider d'autres personnes :-)

Bon courage, et surtout n'hésite pas si tu as des questions.

PS: bon choix pour Airzone, j'en suis très content, fonctionne très bien! Et la connexion modbus est vraiment un plus. PS2: ma config sur github tourne sous OpenHAB1, je n'ai pas encore réussi à migrer sous OpenHAB2 (je n'ai plus aucun événement sur les périphériques USB). Tu utilises quelle version d'openHAB?

Lionel

2017-05-21 21:27 GMT+02:00 Jetblack31 notifications@github.com:

Hi,

An Airzone system will be installed in my house soon and I plan to configure my Openhab system to control it. You did a heck of a job and your files are a good starting point for me !! Would it be possible to have access to your openhab.cfg file ? At least the part showing the modbus slaves configuration ? Thank you very much ! By the way, you mention and use some registers that are not described in the Arzone modbus manual, such as air temperature at the input of the duct unit. Could you give a link to these information ? Thank you ! Jetblack (I am located in Toulouse, France)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xiboy/openhab-myhome/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/ AIml5zOlU3wgSZ6suMrYOpWtMtnJlBoSks5r8JA-gaJpZM4Nhse5 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xiboy/openhab-myhome/issues/18#issuecomment-302967363, or mute the thread https://github.com/notifications/unsubscribe-auth/AbXEAbX8c9K6X_KYCxhRDTsQfe_dlR06ks5r8LjRgaJpZM4Nhse5 .

--

Bernard Legrand

alvarolobato commented 6 years ago

Hi @xiboy I also have a FLEXA2.0/InnobusPro 6 but can't find the modbus protocol document I could only find the one for the 3. Do you think you could send it to me please? BTW, thanks a lot for open sourcing this, it helped me a lot!

Thanks

lionelbeard commented 6 years ago

Hi, Here is the document I use to control my Airzone board through modbus protocol.I'm available if you need some help. Regards. PS: if you use openhab2, please check my OH2 repository, most up-to-date because I don't use OH1 anymore. -------- Message d'origine --------De : Alvaro Lobato notifications@github.com Date : 24/04/2018 23:09 (GMT+01:00) À : xiboy/openhab-myhome openhab-myhome@noreply.github.com Cc : xiboy beard.lionel@gmail.com, Mention mention@noreply.github.com Objet : Re: [xiboy/openhab-myhome] openhab.cfg ?? (#18) Hi @xiboy I also have a FLEXA2.0/InnobusPro 6 but can't find the modbus protocol document I could only find the one for the 3. Do you think you could send it to me please? Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xiboy/openhab-myhome","title":"xiboy/openhab-myhome","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xiboy/openhab-myhome"}},"updates":{"snippets":[{"icon":"PERSON","message":"@alvarolobato in #18: Hi @xiboy I also have a FLEXA2.0/InnobusPro 6 but can't find the modbus protocol document I could only find the one for the 3. Do you think you could send it to me please?\r\n\r\nThanks"}],"action":{"name":"View Issue","url":"https://github.com/xiboy/openhab-myhome/issues/18#issuecomment-384080877"}}}

lionelbeard commented 6 years ago

Well, file attachment doesn't seem to work on GitHub, please send me your email.