piface not recognized

Moderators: fantom, leecollings

Post Reply
rhendriks
Posts: 44
Joined: Monday 23 December 2013 23:36
Target OS: Raspberry Pi / ODroid
Domoticz version: Newest
Location: Netherlands Helmond
Contact:

piface not recognized

Post by rhendriks »

I have added 2 piface's , piface.conf adjusted then I add the piface in the hardware menu.
If I look in the device tab I only see 4 outputs.
In the logfile Can I see that there are 2 Pifaces.
and the worker has started.
What I'm doing wrong?
Jan Jansen
Posts: 229
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: piface not recognized

Post by Jan Jansen »

Take a look in the piface.conf >>> sudo nano domoticz/piface.conf. Are the inputs and outputs set as true instead of false?
rhendriks
Posts: 44
Joined: Monday 23 December 2013 23:36
Target OS: Raspberry Pi / ODroid
Domoticz version: Newest
Location: Netherlands Helmond
Contact:

Re: piface not recognized

Post by rhendriks »

They are all true.
I see now 16 outputs and 0 inputs.
rhendriks
Posts: 44
Joined: Monday 23 December 2013 23:36
Target OS: Raspberry Pi / ODroid
Domoticz version: Newest
Location: Netherlands Helmond
Contact:

Re: piface not recognized

Post by rhendriks »

If Domoticz startup , I see this below , it's strange that the PiFace config file starts at adres 0,Pin 6.
In the piface.conf start this with adres 0, pin 0.
It looks like Domoticz did read the file wrong.

Code: Select all

2020-02-01 19:21:56.973 Sunrise: 07:16:00 SunSet: 16:26:00
2020-02-01 19:21:56.973 Day length: 09:10:00 Sun at south: 11:51:00
2020-02-01 19:21:56.973 Civil twilight start: 06:40:00 Civil twilight end: 17:02:00
2020-02-01 19:21:56.973 Nautical twilight start: 05:60:00 Nautical twilight end: 17:42:00
2020-02-01 19:21:56.973 Astronomical twilight start: 05:21:00 Astronomical twilight end: 18:21:00
2020-02-01 19:21:57.351 Active notification Subsystems: (0/13)
2020-02-01 19:21:57.392 Starting shared server on: :::6144
2020-02-01 19:22:03.031 (Slimme meter) P1 Smart Meter (Power)
2020-02-01 19:22:03.906 PiFace: SPI device opened successfully
2020-02-01 19:22:03.912 Status: PiFace: config file: Valid address: 0 , Pin: 6 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.912 Status: PiFace: config file: Valid address: 0 , Pin: 6 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.912 Status: PiFace: config file: Valid address: 0 , Pin: 6 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.912 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.912 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.912 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 0 , Pin: 7 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 0 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 1 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.913 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 2 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 3 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 4 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 5 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.914 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 6 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port O Parameter: enabled , Value true
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port O Parameter: pin_type , Value level
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port O Parameter: count_enabled , Value false
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port O Parameter: count_type , Value generic
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port O Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port I Parameter: enabled , Value true
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port I Parameter: pin_type , Value rising
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port I Parameter: count_enabled , Value false
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port I Parameter: count_type , Value generic
2020-02-01 19:22:03.915 Status: PiFace: config file: Valid address: 1 , Pin: 7 and Port I Parameter: count_update_interval_sec , Value 10
2020-02-01 19:22:03.916 Status: PiFace: Worker started...
2020-02-01 19:22:03.917 Status: EventSystem: reset all events...
2020-02-01 19:22:03.918 Status: EventSystem: reset all device statuses...
2020-02-01 19:22:03.980 Status: PluginSystem: Entering work loop.
2020-02-01 19:22:03.994 Status: Python EventSystem: Initalizing event module.
2020-02-01 19:22:03.995 Status: EventSystem: Started
2020-02-01 19:22:03.995 Status: EventSystem: Queue thread started...
2020-02-01 19:22:03.027 Error: P1 Smart Meter: Unable to synchronize to the gas meter clock because it is more than 5 minutes ahead of my time
2020-02-01 19:22:04.020 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.117 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.219 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.319 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.419 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.519 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.618 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.718 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.818 (piface) Lighting 1 (Unknown)
2020-02-01 19:22:04.907 (1-Wire) Temp (Aanvoer)
2020-02-01 19:22:04.908 (1-Wire) Temp (retour)
2020-02-01 19:22:04.910 (1-Wire) Temp (Temperatuur meterkast)
2020-02-01 19:22:04.911 (1-Wire) Temp (Retour vloerverwarming)
2020-02-01 19:22:04.912 (1-Wire) Temp (Aanvoer vloerverwarming)
2020-02-01 19:22:04.913 (1-Wire) Temp (Aanvoer)
2020-02-01 19:22:04.918 (piface) Lighting 1 (Unknown)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests