Closed claudegel closed 4 years ago
Hi @claudegel I'm not actually sure whether it works with the original PiFace. Could you provide your config through, so we can see what's causing this particular error? Just remove any sensitive things like IPs and usernames/passwords.
I finally got it to work. It was not clear in the doc about where to write the module name.
mqtt:
host: 192.168.xx.xx
port: 1883
user: "username"
password: "passwd"
topic_prefix: arrosage
gpio_modules:
- name: piface2 <-----
module: piface2
digital_outputs:
- name: valve_avant
module: piface2
pin: 0
on_payload: "ON"
off_payload: "OFF"
initial: low
- name: valve_arriere
module: piface2
pin: 1
on_payload: "ON"
off_payload: "OFF"
initial: low
my error was in the name: parameter
it work perfectly whit the piface digital
Glad to hear it! Thanks for reporting back.
I want to use piface digital. There is a module piface2 for the piface digital 2 Cna I use this module with the old piface digital ? When trying this module I get