Phidgets22 Plugin Discussion

Various odd hacks to make Indigo more useful.
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

Post by berkinet »

landry wrote:Hi Richard

just want to say phidgets22 with Indigo 20223.1 works with all my 888 & 2222 interfaces , sbc;'s and sensors.. Great plugin .!!!
... ...
Dave
Thanks for the report! BTW, I have a display device and will see about getting support added.
landry
Posts: 59
Joined: Sun Jul 30, 2017 12:14 pm

Re: Phidgets22 Plugin Discussion

Post by landry »

Hi Richard

I appreciate your further development. I just want to relay some great improvements in stability performance with Indigo 2.023.1 and Phidegets 22. I live in small coastal town where power failures.is not uncommon due to coastal storms. With Phidget 12, after a reboot from a power failure recovery, it took manual rebooting of all theSBC's and toggling the phiddgets plugin to get these' devices to handshake with the Indigo server. With the Phidgets 22 and Indigo 20-23.11, after a power failure recovery, , the server rebooted and all the phidget devices were automatically immediately back on line. No issues.!!

I am exited because sensor that gives a -0 to 5 volt or 4 to 20 mA signal now can be interfaced to all m devices in Indigo!! Projects glalore !!

What did notice is the Rachio Plugin and the Z wave interface and to be manually loaded. I had to reboot the server to get the Indigo Reflector going again;. . My server is online wit Starlink with a back up of a very slow cable network.. Maybe Jay might want to comment on this observation.

Well done Richard!!
Don' t know if you celebrate it in France bit HappyThanksgiving!!
hamw
Posts: 1247
Joined: Mon Mar 31, 2008 7:45 pm

Re: Phidgets22 Plugin Discussion

Post by hamw »

Hi Richard,

I'm excited to get this going. I have installed the Phidgets 22 libs and the plugin and rebooted. I set my devices to the appropriate boards. My I/O devices seem to be generally working except for one which for some reason is occasionally detached despite being set up the same way as the others and previously working. However, the temp/humidity board is detached. It is definitely being read by Phidgets as it appears in the control panel.

I have deleted the old ph 21 settings control pane and rebooted, btw.

Both boards appear in the Bonjour pane, but the temp/humidity remains detached. A couple of questions: the actual board definition does not include I/O board or analog input, etc. It asks for a specific type of input or output, and requests a serial number. I tried entering 127.0.0.1 and a generic "input" for the temp/humidity board, such as "temp" or "humidity" and no luck. I am not sure if the boards are "network" or "attached" and I do understand you want them on the network. Just not sure how to get there.

could this be a failing board? the debug seems to indicate "no response" even though the board is seen by the plugin and is directly plugged into the computer.



Here's a debug:

Code: Select all

Jun 16, 2024 at 1:42:15 PM
   Reloading plugin "Phidgets 22 0.1.1" using API v3.0
   Stopping plugin "Phidgets 22 0.1.1" (pid 2231)
   Phidgets 22 Debug               stop_concurrent_thread called
   Phidgets 22 Debug               Stopping TemperatureSensorPhidget for Indigo device 'Phidgets 8/8/8 TempHumidity' (1650378619)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets 8/8/8 Water Valves' (1733213442)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Close' (23085881)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Open' (92152270)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay B No Longer Used Close/0' (1277650443)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay B Pool House Supply Valve Open/I' (1089098378)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Patio Audio Relay Control' (474957244)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Supply Sprinkler Valve Actuator' (281607566)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Master Valve' (760986343)
   Phidgets 22 Debug               Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Water Meter' (929930549)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 0 House Valve is Closed' (1680788122)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 1 House Valve is Open' (1529866655)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 3 Pool Water Meter' (1540318258)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 4 Not Used. ' (56341842)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Water Meter 1 House Pulse Counter' (1581369840)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Water Meter 2 Pool Pulse Counter ' (674593774)
   Phidgets 22 Debug               Stopping DigitalInputPhidget for Indigo device 'Phidgets Water Meter 3 Front Sprinkler Monitor Pulse Counter' (1532710665)
   Phidgets 22 Debug               Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 0 Fam Rm Humidity' (1055284047)
   Phidgets 22 Debug               Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 1 Fam Rm Temp' (878724171)
   Phidgets 22 Debug               Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 2 Main House Humidity' (503075230)
   Phidgets 22 Debug               Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 3 Main House Temp' (469549464)
   Phidgets 22 Debug               Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564)
   Phidgets 22 Debug               Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478)
   Stopped plugin "Phidgets 22 0.1.1"
   Starting plugin "Phidgets 22 0.1.1" (pid 2467)
   Started plugin "Phidgets 22 0.1.1"
   Phidgets 22 Debug               Setting log level to DEBUG
   Phidgets 22 Debug               Using Phidget22 - Version 1.19 - Built Apr 11 2024 13:34:31
   Phidgets 22 Debug               Creating TemperatureSensorPhidget for Indigo device 'Phidgets 8/8/8 TempHumidity' (1650378619)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets 8/8/8 Water Valves' (1733213442)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Close' (23085881)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Open' (92152270)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay B No Longer Used Close/0' (1277650443)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay B Pool House Supply Valve Open/I' (1089098378)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Patio Audio Relay Control' (474957244)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Supply Sprinkler Valve Actuator' (281607566)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Master Valve' (760986343)
   Phidgets 22 Debug               Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Water Meter' (929930549)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 0 House Valve is Closed' (1680788122)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 1 House Valve is Open' (1529866655)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 3 Pool Water Meter' (1540318258)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 4 Not Used. ' (56341842)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Water Meter 1 House Pulse Counter' (1581369840)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Water Meter 2 Pool Pulse Counter ' (674593774)
   Phidgets 22 Debug               Creating DigitalInputPhidget for Indigo device 'Phidgets Water Meter 3 Front Sprinkler Monitor Pulse Counter' (1532710665)
   Phidgets 22 Debug               Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 0 Fam Rm Humidity' (1055284047)
   Phidgets 22 Debug               Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 1 Fam Rm Temp' (878724171)
   Phidgets 22 Debug               Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 2 Main House Humidity' (503075230)
   Phidgets 22 Debug               Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 3 Main House Temp' (469549464)
   Phidgets 22 Debug               Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564)
   Phidgets 22 Debug               Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478)
   Phidgets 22 Debug               Attached 'Phidgets 8/8/8 Water Valves' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  0
   Phidgets 22 Debug               Attached 'Phidgets Sensor Input 1 House Valve is Open' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  1
   Phidgets 22 Debug               Attached 'Phidgets Sensor Input 4 Not Used. ' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  4
   Phidgets 22 Debug               Attached 'Phidgets Sensor Input 3 Pool Water Meter' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  3
   Phidgets 22 Debug               Attached 'Phidgets Water Meter 2 Pool Pulse Counter ' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  6
   Phidgets 22 Debug               Attached 'Phidgets Water Meter 1 House Pulse Counter' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  5
   Phidgets 22 Debug               Attached 'Phidgets Water Meter 3 Front Sprinkler Monitor Pulse Counter' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel:  7
   Phidgets 22 Debug               Attached 'Phidgets Relay A House Valve Close' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  0
   Phidgets 22 Debug               Attached 'Phidgets Relay A House Valve Open' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  1
   Phidgets 22 Debug               Attached 'Phidgets Relay B No Longer Used Close/0' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  2
   Phidgets 22 Debug               Attached 'Phidgets Relay B Pool House Supply Valve Open/I' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  3
   Phidgets 22 Debug               Attached 'Phidgets Relay C Pool Supply Sprinkler Valve Actuator' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  4
   Phidgets 22 Debug               Attached 'Phidgets Relay C Pool Patio Audio Relay Control' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  5
   Phidgets 22 Debug               Attached 'Phidgets Relay D Front Sprinkler Water Meter' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  6
   Phidgets 22 Debug               Attached 'Phidgets Relay D Front Sprinkler Master Valve' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel:  7
   Phidgets 22 Error               No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 3 Main House Temp' (469549464) after 5 seconds.
   Phidgets 22 Error               No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478) after 5 seconds.
   Phidgets 22 Error               No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 1 Fam Rm Temp' (878724171) after 5 seconds.
   Phidgets 22 Error               No response creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 0 House Valve is Closed' (1680788122) after 5 seconds.
   Phidgets 22 Error               No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 0 Fam Rm Humidity' (1055284047) after 5 seconds.
   Phidgets 22 Error               No response creating TemperatureSensorPhidget for Indigo device 'Phidgets 8/8/8 TempHumidity' (1650378619) after 5 seconds.
   Phidgets 22 Error               No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 2 Main House Humidity' (503075230) after 5 seconds.
   Phidgets 22 Error               No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564) after 5 seconds.

Thanks very much.
Attachments
Phidgets 22 Setup.png
Phidgets 22 Setup.png (284.42 KiB) Viewed 2254 times
hamw
Posts: 1247
Joined: Mon Mar 31, 2008 7:45 pm

Re: Phidgets22 Plugin Discussion

Post by hamw »

I subbed in a different board. While the Phidgets CP is seeing the board, it is not registering with the plugin. So I don't think it is a hardware issue, I'm just missing something in setup.

thanks!
Phidgets 22 Debug Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564)
Phidgets 22 Debug Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564)
Phidgets 22 Error No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564) after 5 seconds.
Phidgets 22 Debug Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478)
Phidgets 22 Debug Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478)
Phidgets 22 Error No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478) after 5 seconds.
Reloading plugin "Phidgets 22 0.1.1" using API v3.0
Stopping plugin "Phidgets 22 0.1.1" (pid 2708)
Phidgets 22 Debug stop_concurrent_thread called
Phidgets 22 Debug Stopping TemperatureSensorPhidget for Indigo device 'Phidgets 8/8/8 TempHumidity' (1650378619)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets 8/8/8 Water Valves' (1733213442)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Close' (23085881)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Open' (92152270)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay B No Longer Used Close/0' (1277650443)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay B Pool House Supply Valve Open/I' (1089098378)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Patio Audio Relay Control' (474957244)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Supply Sprinkler Valve Actuator' (281607566)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Master Valve' (760986343)
Phidgets 22 Debug Stopping DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Water Meter' (929930549)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 0 House Valve is Closed' (1680788122)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 1 House Valve is Open' (1529866655)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 3 Pool Water Meter' (1540318258)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 4 Not Used. ' (56341842)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Water Meter 1 House Pulse Counter' (1581369840)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Water Meter 2 Pool Pulse Counter ' (674593774)
Phidgets 22 Debug Stopping DigitalInputPhidget for Indigo device 'Phidgets Water Meter 3 Front Sprinkler Monitor Pulse Counter' (1532710665)
Phidgets 22 Debug Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 0 Fam Rm Humidity' (1055284047)
Phidgets 22 Debug Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 1 Fam Rm Temp' (878724171)
Phidgets 22 Debug Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 2 Main House Humidity' (503075230)
Phidgets 22 Debug Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 3 Main House Temp' (469549464)
Phidgets 22 Debug Stopping HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564)
Phidgets 22 Debug Stopping TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478)
Stopped plugin "Phidgets 22 0.1.1"
Starting plugin "Phidgets 22 0.1.1" (pid 3305)
Started plugin "Phidgets 22 0.1.1"
Phidgets 22 Debug Setting log level to DEBUG
Phidgets 22 Debug Using Phidget22 - Version 1.19 - Built Apr 11 2024 13:34:31
Phidgets 22 Debug Creating TemperatureSensorPhidget for Indigo device 'Phidgets 8/8/8 TempHumidity' (1650378619)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets 8/8/8 Water Valves' (1733213442)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Close' (23085881)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay A House Valve Open' (92152270)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay B No Longer Used Close/0' (1277650443)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay B Pool House Supply Valve Open/I' (1089098378)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Patio Audio Relay Control' (474957244)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay C Pool Supply Sprinkler Valve Actuator' (281607566)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Master Valve' (760986343)
Phidgets 22 Debug Creating DigitalOutputPhidget for Indigo device 'Phidgets Relay D Front Sprinkler Water Meter' (929930549)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 0 House Valve is Closed' (1680788122)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 1 House Valve is Open' (1529866655)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 3 Pool Water Meter' (1540318258)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 4 Not Used. ' (56341842)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Water Meter 1 House Pulse Counter' (1581369840)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Water Meter 2 Pool Pulse Counter ' (674593774)
Phidgets 22 Debug Creating DigitalInputPhidget for Indigo device 'Phidgets Water Meter 3 Front Sprinkler Monitor Pulse Counter' (1532710665)
Phidgets 22 Debug Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 0 Fam Rm Humidity' (1055284047)
Phidgets 22 Debug Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 1 Fam Rm Temp' (878724171)
Phidgets 22 Debug Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 2 Main House Humidity' (503075230)
Phidgets 22 Debug Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 3 Main House Temp' (469549464)
Phidgets 22 Debug Creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564)
Phidgets 22 Debug Creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478)
Phidgets 22 Debug Attached 'Phidgets 8/8/8 Water Valves' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 0
Phidgets 22 Debug Attached 'Phidgets Sensor Input 1 House Valve is Open' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 1
Phidgets 22 Debug Attached 'Phidgets Sensor Input 3 Pool Water Meter' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 3
Phidgets 22 Debug Attached 'Phidgets Sensor Input 4 Not Used. ' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 4
Phidgets 22 Debug Attached 'Phidgets Water Meter 1 House Pulse Counter' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 5
Phidgets 22 Debug Attached 'Phidgets Water Meter 2 Pool Pulse Counter ' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 6
Phidgets 22 Debug Attached 'Phidgets Water Meter 3 Front Sprinkler Monitor Pulse Counter' event: -> Channel Class: PhidgetDigitalInput -> Serial Number: 278307 -> Channel: 7
Phidgets 22 Debug Attached 'Phidgets Relay A House Valve Close' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 0
Phidgets 22 Debug Attached 'Phidgets Relay A House Valve Open' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 1
Phidgets 22 Debug Attached 'Phidgets Relay B No Longer Used Close/0' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 2
Phidgets 22 Debug Attached 'Phidgets Relay B Pool House Supply Valve Open/I' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 3
Phidgets 22 Debug Attached 'Phidgets Relay C Pool Supply Sprinkler Valve Actuator' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 4
Phidgets 22 Debug Attached 'Phidgets Relay C Pool Patio Audio Relay Control' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 5
Phidgets 22 Debug Attached 'Phidgets Relay D Front Sprinkler Water Meter' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 6
Phidgets 22 Debug Attached 'Phidgets Relay D Front Sprinkler Master Valve' event: -> Channel Class: PhidgetDigitalOutput -> Serial Number: 278307 -> Channel: 7
Phidgets 22 Error No response creating TemperatureSensorPhidget for Indigo device 'Phidgets 8/8/8 TempHumidity' (1650378619) after 5 seconds.
Phidgets 22 Error No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 4 Game Rm Humidity' (761629564) after 5 seconds.
Phidgets 22 Error No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 5 Game Rm Temp' (1877267478) after 5 seconds.
Phidgets 22 Error No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 1 Fam Rm Temp' (878724171) after 5 seconds.
Phidgets 22 Error No response creating DigitalInputPhidget for Indigo device 'Phidgets Sensor Input 0 House Valve is Closed' (1680788122) after 5 seconds.
Phidgets 22 Error No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 0 Fam Rm Humidity' (1055284047) after 5 seconds.
Phidgets 22 Error No response creating HumiditySensorPhidget for Indigo device 'TH CrawlSp 2 Main House Humidity' (503075230) after 5 seconds.
Phidgets 22 Error No response creating TemperatureSensorPhidget for Indigo device 'TH CrawlSp 3 Main House Temp' (469549464) after 5 seconds.
Attachments
Phidgets Change Board Voltage.png
Phidgets Change Board Voltage.png (203.95 KiB) Viewed 2243 times
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

Post by berkinet »

hamw wrote:I subbed in a different board. While the Phidgets CP is seeing the board, it is not registering with the plugin. So I don't think it is a hardware issue, I'm just missing something in setup.
Please post a screenshot of the Indigo device configuration window.

The config should look something like...
Screen Shot 2024-06-19 at 16.09.35.png
Screen Shot 2024-06-19 at 16.09.35.png (95.97 KiB) Viewed 2173 times
Screen Shot 2024-06-19 at 16.09.20.png
Screen Shot 2024-06-19 at 16.09.20.png (114.73 KiB) Viewed 2173 times
hamw
Posts: 1247
Joined: Mon Mar 31, 2008 7:45 pm

Re: Phidgets22 Plugin Discussion

Post by hamw »

Hi Richard,

We had discussed hooking up a two wire water meter to a DAQ1 1400 VINT hub. Currently the recommendation from Phidgets is to hook up the sensor to Ground and Digital, with a 10k pull-up resistor connected between 12/24v and Digital.

What is the proper device choice to access the VINT hub and choose the input?

thanks!
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

Post by berkinet »

hamw wrote:Hi Richard,

We had discussed hooking up a two wire water meter to a DAQ1 1400 VINT hub. Currently the recommendation from Phidgets is to hook up the sensor to Ground and Digital, with a 10k pull-up resistor connected between 12/24v and Digital.

What is the proper device choice to access the VINT hub and choose the input?

thanks!
The specifics of the device configuration will depend on how you have wired the DAQ1400. But, here is a picture of my setup here. This counts pulses from a flashing warning light .
Attachments
for_indigo.jpg
for_indigo.jpg (114.14 KiB) Viewed 2017 times
hamw
Posts: 1247
Joined: Mon Mar 31, 2008 7:45 pm

Re: Phidgets22 Plugin Discussion

Post by hamw »

Thanks, Richard, for the Phidgets VINT 1400_0 setup advice; worked well..

I created a test rig with some adapters and a garden hose with a "calibrated" bucket so I could repeatedly run 4 gallons of water. Considering differing ramp up times for me turning the valve and "guesstimating" when I hit the tape mark for 4 gallons, the frequency count came out fairly tight. For sessions 1-4 the total counts were 1370, 1360,1380 and 1355. So the frequency count function works and is repeatable.

I'll work on triggers to log tenths and gallons. Should be able to reliably track water use and leaks. The good thing about this meter is the replaceable sensor, which just screws in. I look forward to having them installed soon.
Attachments
New Water Meter Test.jpg
New Water Meter Test.jpg (296.78 KiB) Viewed 1981 times
Makadak
Posts: 5
Joined: Fri Jul 16, 2021 8:17 pm

Re: Phidgets22 Plugin Discussion

Post by Makadak »

Hi Richard
May I ask where you download the Phidget22 Plugin?
Thanks
Mak
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

Post by berkinet »

Makadak wrote: Sun Jul 21, 2024 7:24 am Hi Richard
May I ask where you download the Phidget22 Plugin?
Thanks
Mak
https://github.com/perlman/phidgets-indigo
Makadak
Posts: 5
Joined: Fri Jul 16, 2021 8:17 pm

Re: Phidgets22 Plugin Discussion

Post by Makadak »

Thanks for the link Richard

I have VITHub with an digital input board on port 0 and digital output board on port 3.

The input board is seen by the phidget server and gives back True/False correctly. Same with output board.

However when I created a device for the digital input... serial# + channel + port it comes up with "detached".

Screenshots attached.

Am I missing something....?

And thanks for all your efforts. Mighty awesome.

Mak
Attachments
Phidgets2a.jpg
Phidgets2a.jpg (99.26 KiB) Viewed 1606 times
Phidgets1a.jpg
Phidgets1a.jpg (86.33 KiB) Viewed 1606 times
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Phidgets22 Plugin Discussion

Post by berkinet »

Makadak wrote: Sun Jul 21, 2024 7:25 pm Thanks for the link Richard

I have VITHub with an digital input board on port 0 and digital output board on port 3.

The input board is seen by the phidget server and gives back True/False correctly. Same with output board.

However when I created a device for the digital input... serial# + channel + port it comes up with "detached".

Screenshots attached.

Am I missing something....?

And thanks for all your efforts. Mighty awesome.

Mak
The 16 port i/o board is not a VINT device, you need to uncheck that box
Post Reply

Return to “Berkinet's Plugins”