Skip to content

martinezmp3/Hubitat-Monoprice-6-zone-controller

Repository files navigation

Hubitat //DEPRECATED//

//// //DEPRECATED// Pease use the universal driver work with Linux base computer/TCP-Serial adapert (@jrperson working on a micro controler option wiht added functionalities) https://github.com/martinezmp3/Hubitat-Monoprice-6-zone-controller-TCP-IP-Serial //// //****************// //DEPRECATED// Pease use the universal driver work with Linux base computer/TCP-Serial adapert (@jrperson working on a micro controler option wiht added functionalities) https://github.com/martinezmp3/Hubitat-Monoprice-6-zone-controller-TCP-IP-Serial

//// //// //DEPRECATED// Pease use the universal driver work with Linux base computer/TCP-Serial adapert (@jrperson working on a micro controler option wiht added functionalities) https://github.com/martinezmp3/Hubitat-Monoprice-6-zone-controller-TCP-IP-Serial

//// //// //DEPRECATED// Pease use the universal driver work with Linux base computer/TCP-Serial adapert (@jrperson working on a micro controler option wiht added functionalities) https://github.com/martinezmp3/Hubitat-Monoprice-6-zone-controller-TCP-IP-Serial //****************//

Hubitat Drivers Driver for Hubitat Elevation Hub

(this is a work in progress any feed back will be really appreciate)

What you need:

Instalation instructions

#------------------------------------------------------------------------------------- [Unit] Description=sevice for serial to tcp or telnet server, ser2net python. by Pavel Revak After=multi-user.target

[Service] Type=simple ExecStart=/usr/bin/python3 /home/pi/ser2tcp.py /dev/ttyUSB0 9600 NONE -l 0:23 Restart=on-abort

[Install] WantedBy=multi-user.target #-------------------------------------------------------------------------------------

  • sudo chmod 644 /lib/systemd/system/ser2tcp.service
  • sudo systemctl daemon-reload
  • sudo systemctl enable ser2tcp.service
  • sudo systemctl start ser2tcp.service
  • Open up the MonoPrice-6-Zone-Amp-Controller.groovy and copy Ctrl+a and Ctrl+c (https://raw.githubusercontent.com/martinezmp3/Hubitat-Monoprice-6-zone-controller-TCP-IP-Serial/master/Parent-MonoPrice-6-Zone-Amp-Controller.groovy)
  • In your hub web page, select the "Drivers Code" section and then click the "+ New Driver" button
  • Click in the editor window. Then PASTE all of the code you copied in the previous step.
  • Click the SAVE button in the editor window
  • Open up the MonoPrice-6-Zone-Amp-Controller.groovy and copy Ctrl+a and Ctrl+c (https://raw.githubusercontent.com/martinezmp3/Hubitat-Monoprice-6-zone-controller-TCP-IP-Serial/master/Child-MonoPrice-6-Zone-Amp-Controller.groovy)
  • Go back to your hub web page, select the "Drivers Code" section and then click the "+ New Driver" button
  • Click in the editor window. Then PASTE all of the code you copied in the previous step.
  • Click the SAVE button in the editor window
  • In the hubitat web page, select the "Devices" section, and then click the "Add Virtual Device" button in the top right corner.
  • In the window that appears, please fill in the "Device Name", "Device Label"
  • In the type filed look for Parent MonoPrice 6 Zone Amp Controller
  • Click save Device
  • In the Preferences section ip = ip of the Raspberry Pi, port = port in the scrip (unless you changed should be 23), Number of amp is if you have more than one amp (not implemented yet)
  • Click save
  • If everything went well you should all the zones will show up as childs (this is a work in progress any feed back will be really appreciate)

Releases

No releases published

Packages

No packages published