EDS 1-Wire Server Plugin

Posted on
Sun Jan 11, 2015 8:05 am
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: EDS 1-Wire Server Plugin

DrLove wrote:
It works now. Even after a reboot ;)
Fantastic suport as always! Thanks!

I'll be adding a AD-converter (based on the DS2450S+) to my 1-wire network today and put air flow meters in my ventilation system :)
I'm a physicist and they tend to measure everything ;)

Is it possible to add support for this meter?

//L

Excellent news, thanks. Sorry about the trouble--the plugin should have been Unicode-friendly already--that one's on me.

I have PM'd you with a link to a copy of the plugin source with added support for the Quad Converter. Please let me know how it works for you. If it's stable, I'll release it more broadly. This is a little trickier as I can't test the code in a production environment because I don't have the requisite hardware.

Cheers,
Dave

Posted on
Sun Jan 11, 2015 8:22 am
DrLove offline
Posts: 170
Joined: Dec 12, 2014
Location: Sweden

Re: EDS 1-Wire Server Plugin

I'll be glad to test it and help you if I can.

//L

Love Kull (yes it's my name)
Blog (in Swedish)
Sweden

Posted on
Mon Aug 10, 2015 8:55 am
jens offline
Posts: 191
Joined: May 03, 2015
Location: Sweden

Re: EDS 1-Wire Server Plugin

Indigo can't find my OW server...
Attachments
Skärmavbild 2015-08-10 kl. 16.51.22.png
Skärmavbild 2015-08-10 kl. 16.51.22.png (453.32 KiB) Viewed 1423 times

Posted on
Mon Aug 10, 2015 9:32 am
jens offline
Posts: 191
Joined: May 03, 2015
Location: Sweden

Re: EDS 1-Wire Server Plugin

And this is my log

//Jens

10 aug 2015 17:19:06
OWServer Debug spotDeadSensors() method called.
OWServer Error new device hasn't been updated in 0:30:15.953000. If this condition persists, check it's connection.
OWServer Error new device 1 hasn't been updated in 0:30:15.960000. If this condition persists, check it's connection.
OWServer Debug updateDeviceStates() method called.
OWServer Getting OWServer data...
OWServer Debug getDetailsXML() method called.
OWServer Debug details.xml file retrieved successfully.
OWServer Debug <?xml version="1.0" encoding="UTF-8"?>
<Devices-Detail-Response xmlns="http://www.embeddeddatasystems.com/schema/owserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PollCount>2610874</PollCount>
<DevicesConnected>2</DevicesConnected>
<LoopTime>1.197</LoopTime>
<DevicesConnectedChannel1>1</DevicesConnectedChannel1>
<DevicesConnectedChannel2>1</DevicesConnectedChannel2>
<DevicesConnectedChannel3>0</DevicesConnectedChannel3>
<DataErrorsChannel1>7</DataErrorsChannel1>
<DataErrorsChannel2>0</DataErrorsChannel2>
<DataErrorsChannel3>0</DataErrorsChannel3>
<VoltageChannel1>4.12</VoltageChannel1>
<VoltageChannel2>4.71</VoltageChannel2>
<VoltageChannel3>4.72</VoltageChannel3>
<VoltagePower>4.96</VoltagePower>
<DeviceName>OWServer_v2-Enet</DeviceName>
<HostName>EDSOWSERVER2</HostName>
<MACAddress>00:04:A3:F8:60:CD</MACAddress>
<DateTime>2015-08-10 10:19:07</DateTime>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>43000006C60CD328</ROMId>
<Health>7</Health>
<Channel>1</Channel>
<RawData>C8014B467FFF08103FFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</RawData>
<PrimaryValue>28.5000 Deg C</PrimaryValue>
<Temperature Units="Centigrade">28.5000</Temperature>
<UserByte1 Writable="True">75</UserByte1>
<UserByte2 Writable="True">70</UserByte2>
<Resolution>12</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_EDS0068 Description="Temperature, Humidity, Barometric Pressure and Light Sensor">
<Name>EDS0068</Name>
<Family>7E</Family>
<ROMId>76001000002A757E</ROMId>
<Health>7</Health>
<Channel>2</Channel>
<RawData>680077015103D500A6018F0147D11F87F0000000000000002D0A00005D0A000000007DD864007DD87DD87DD800803E000000002003000000A0860100000000000000000000000000</RawData>
<PrimaryValue>53.0625 %RH</PrimaryValue>
<Temperature Units="Centigrade">23.4375</Temperature>
<Humidity Units="PercentRelativeHumidity">53.0625</Humidity>
<DewPoint Units="Centigrade">13.3125</DewPoint>
<Humidex>26.3750</Humidex>
<HeatIndex Units="Centigrade">24.9375</HeatIndex>
<BarometricPressureMb Units="Millibars">1018.160</BarometricPressureMb>
<BarometricPressureHg Units="InchesOfMercury">30.066</BarometricPressureHg>
<Light Units="Lux">0</Light>
<LED>0</LED>
<Relay>0</Relay>
<Counter1>2653</Counter1>
<Counter2>2605</Counter2>
<TemperatureHighAlarmState>0</TemperatureHighAlarmState>
<TemperatureLowAlarmState>0</TemperatureLowAlarmState>
<HumidityHighAlarmState>0</HumidityHighAlarmState>
<HumidityLowAlarmState>0</HumidityLowAlarmState>
<DewPointHighAlarmState>0</DewPointHighAlarmState>
<DewPointLowAlarmState>0</DewPointLowAlarmState>
<HumidexHighAlarmState>0</HumidexHighAlarmState>
<HumidexLowAlarmState>0</HumidexLowAlarmState>
<HeatIndexHighAlarmState>0</HeatIndexHighAlarmState>
<HeatIndexLowAlarmState>0</HeatIndexLowAlarmState>
<BarometricPressureMbHighAlarmState>0</BarometricPressureMbHighAlarmState>
<BarometricPressureMbLowAlarmState>0</BarometricPressureMbLowAlarmState>
<BarometricPressureHgHighAlarmState>0</BarometricPressureHgHighAlarmState>
<BarometricPressureHgLowAlarmState>0</BarometricPressureHgLowAlarmState>
<LightHighAlarmState>0</LightHighAlarmState>
<LightLowAlarmState>0</LightLowAlarmState>
<ClearAlarms Writable="True">-</ClearAlarms>
<TemperatureHighConditionalSearchState Writable="True">0</TemperatureHighConditionalSearchState>
<TemperatureLowConditionalSearchState Writable="True">0</TemperatureLowConditionalSearchState>
<HumidityHighConditionalSearchState Writable="True">0</HumidityHighConditionalSearchState>
<HumidityLowConditionalSearchState Writable="True">0</HumidityLowConditionalSearchState>
<DewPointHighConditionalSearchState Writable="True">0</DewPointHighConditionalSearchState>
<DewPointLowConditionalSearchState Writable="True">0</DewPointLowConditionalSearchState>
<HumidexHighConditionalSearchState Writable="True">0</HumidexHighConditionalSearchState>
<HumidexLowConditionalSearchState Writable="True">0</HumidexLowConditionalSearchState>
<HeatIndexHighConditionalSearchState Writable="True">0</HeatIndexHighConditionalSearchState>
<HeatIndexLowConditionalSearchState Writable="True">0</HeatIndexLowConditionalSearchState>
<BarometricPressureMbHighConditionalSearchState Writable="True">0</BarometricPressureMbHighConditionalSearchState>
<BarometricPressureMbLowConditionalSearchState Writable="True">0</BarometricPressureMbLowConditionalSearchState>
<BarometricPressureHgHighConditionalSearchState Writable="True">0</BarometricPressureHgHighConditionalSearchState>
<BarometricPressureHgLowConditionalSearchState Writable="True">0</BarometricPressureHgLowConditionalSearchState>
<LightHighConditionalSearchState Writable="True">0</LightHighConditionalSearchState>
<LightLowConditionalSearchState Writable="True">0</LightLowConditionalSearchState>
<TemperatureHighAlarmValue Writable="True" Units="Centigrade">125</TemperatureHighAlarmValue>
<TemperatureLowAlarmValue Writable="True" Units="Centigrade">-40</TemperatureLowAlarmValue>
<HumidityHighAlarmValue Writable="True" Units="PercentRelativeHumidity">100</HumidityHighAlarmValue>
<HumidityLowAlarmValue Writable="True" Units="PercentRelativeHumidity">0</HumidityLowAlarmValue>
<DewPointHighAlarmValue Writable="True" Units="Centigrade">125</DewPointHighAlarmValue>
<DewPointLowAlarmValue Writable="True" Units="Centigrade">-40</DewPointLowAlarmValue>
<HumidexHighAlarmValue Writable="True">125</HumidexHighAlarmValue>
<HumidexLowAlarmValue Writable="True">-40</HumidexLowAlarmValue>
<HeatIndexHighAlarmValue Writable="True" Units="Centigrade">125</HeatIndexHighAlarmValue>
<HeatIndexLowAlarmValue Writable="True" Units="Centigrade">-40</HeatIndexLowAlarmValue>
<BarometricPressureMbHighAlarmValue Writable="True" Units="Millibars">2000.000</BarometricPressureMbHighAlarmValue>
<BarometricPressureMbLowAlarmValue Writable="True" Units="Millibars">0.000</BarometricPressureMbLowAlarmValue>
<BarometricPressureHgHighAlarmValue Writable="True" Units="InchesOfMercury">100.000</BarometricPressureHgHighAlarmValue>
<BarometricPressureHgLowAlarmValue Writable="True" Units="InchesOfMercury">0.000</BarometricPressureHgLowAlarmValue>
<LightHighAlarmValue Writable="True" Units="Lux">100000</LightHighAlarmValue>
<LightLowAlarmValue Writable="True" Units="Lux">0</LightLowAlarmValue>
<LEDFunction Writable="True">0</LEDFunction>
<RelayFunction Writable="True">0</RelayFunction>
<LEDState Writable="True">0</LEDState>
<RelayState Writable="True">0</RelayState>
<Version>1.03</Version>
</owd_EDS0068>
</Devices-Detail-Response>

OWServer Debug No more sensors to poll.
OWServer Total of 0 servers polled.
OWServer Total of 0 sensors polled.
OWServer OWServer data parsed successfully.

Posted on
Mon Aug 10, 2015 9:49 am
jens offline
Posts: 191
Joined: May 03, 2015
Location: Sweden

Re: EDS 1-Wire Server Plugin

Sorry, now it works :D

Posted on
Mon Aug 10, 2015 9:51 am
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: EDS 1-Wire Server Plugin

Good to hear. I will take a look at the setup process--I'd like it to be smoother than that!

Sorry for any confusion.

Posted on
Thu Aug 13, 2015 2:41 pm
jens offline
Posts: 191
Joined: May 03, 2015
Location: Sweden

Re: EDS 1-Wire Server Plugin

Can you support OW-IO Interface Quad 0-10v

:D

Have one, but cant use it :(

//Jens

Posted on
Thu Aug 13, 2015 2:53 pm
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: EDS 1-Wire Server Plugin

Please post a copy of the XML output from your server that includes the OW-IO Interface Quad 0-10v . It is relatively easy to add additional device types to the plugin, but I need the XML output relevant to the specific device type in order to do it properly. If you don't already know how to find it, open a browser window and enter:

Code: Select all
http://YOUR-OWS-IP/details.xml
You may want to obscure the MAC address within the output. If you'd prefer, feel free to send it to me in a PM.
Dave

Posted on
Fri Aug 21, 2015 1:00 am
lindehoff offline
Posts: 76
Joined: Aug 08, 2015

Support for OWServer v. 1

Hello,
Would it be possible to get support for OWServer V. 1?
DS18S20 seem to be the only one that works, if I try with other devices I get "OWServer Error Can't reach server. Sensors offline. Reverting to last known values. Trying again in 60 seconds."

My xml file looks like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Devices-Detail-Response xmlns="http://www.embeddeddatasystems.com/schema/owserver"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PollCount>307732</PollCount>
<DevicesConnected>5</DevicesConnected>
<LoopTime>3.594</LoopTime>
<DataErrors>16923</DataErrors>
<DeviceName>OW_SERVER-Enet</DeviceName>
<HostName>EDSOWSERVER</HostName>
<MACAddress>xx:xx:xx:xx:xx:xx</MACAddress>
<owd_DS2450 Description="Quad A/D Converter">
<Name>DS2450</Name>
<Family>20</Family>
<ROMId>[romId]</ROMId>
<Health>7</Health>
<RawData>[trimed]</RawData>
<PrimaryValue>0.000000V Chnl A</PrimaryValue>
<ChannelAConversionValue Units="Volts">0.000000</ChannelAConversionValue>
<ChannelAConversionResolution Writable="True" Units="Bits">8</ChannelAConversionResolution>
<ChannelAConversionRange Writable="True">0</ChannelAConversionRange>
<ChannelAOutputEnable Writable="True">0</ChannelAOutputEnable>
<ChannelAOutputControl Writable="True">0</ChannelAOutputControl>
<ChannelBConversionValue Units="Volts">0.000000</ChannelBConversionValue>
<ChannelBConversionResolution Writable="True" Units="Bits">8</ChannelBConversionResolution>
<ChannelBConversionRange Writable="True">0</ChannelBConversionRange>
<ChannelBOutputEnable Writable="True">0</ChannelBOutputEnable>
<ChannelBOutputControl Writable="True">0</ChannelBOutputControl>
<ChannelCConversionValue Units="Volts">0.677344</ChannelCConversionValue>
<ChannelCConversionResolution Writable="True" Units="Bits">8</ChannelCConversionResolution>
<ChannelCConversionRange Writable="True">0</ChannelCConversionRange>
<ChannelCOutputEnable Writable="True">0</ChannelCOutputEnable>
<ChannelCOutputControl Writable="True">0</ChannelCOutputControl>
<ChannelDConversionValue Units="Volts">0.000000</ChannelDConversionValue>
<ChannelDConversionResolution Writable="True" Units="Bits">8</ChannelDConversionResolution>
<ChannelDConversionRange Writable="True">0</ChannelDConversionRange>
<ChannelDOutputEnable Writable="True">0</ChannelDOutputEnable>
<ChannelDOutputControl Writable="True">0</ChannelDOutputControl>
<PowerOnReset Writable="True">1</PowerOnReset>
<VCCControl Writable="True">0</VCCControl>
</owd_DS2450>
<owd_DS18S20 Description="Parasite power thermometer">
<Name>DS18S20</Name>
<Family>10</Family>
<ROMId>[romId]</ROMId>
<Health>7</Health>
<RawData>[trimed]</RawData>
<PrimaryValue>29.5000 Deg C</PrimaryValue>
<Temperature Units="Centigrade">29.5000</Temperature>
<UserByte1 Writable="True">100</UserByte1>
<UserByte2 Writable="True">201</UserByte2>
</owd_DS18S20>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>[romId]</ROMId>
<Health>7</Health>
<RawData>[trimed]</RawData>
<PrimaryValue>27.0000 Deg C</PrimaryValue>
<Temperature Units="Centigrade">27.0000</Temperature>
<UserByte1 Writable="True">100</UserByte1>
<UserByte2 Writable="True">201</UserByte2>
<Resolution>10</Resolution>
<PowerSource>255</PowerSource>
</owd_DS18B20>
<owd_DS18B20 Description="Programmable resolution thermometer">
<Name>DS18B20</Name>
<Family>28</Family>
<ROMId>[romId]</ROMId>
<Health>7</Health>
<RawData>[trimed]</RawData>
<PrimaryValue>14.6250 Deg C</PrimaryValue>
<Temperature Units="Centigrade">14.6250</Temperature>
<UserByte1 Writable="True">100</UserByte1>
<UserByte2 Writable="True">201</UserByte2>
<Resolution>12</Resolution>
<PowerSource>0</PowerSource>
</owd_DS18B20>
<owd_DS2438 Description="Smart battery monitor">
<Name>DS2438</Name>
<Family>26</Family>
<ROMId>[romId]</ROMId>
<Health>7</Health>
<RawData>[trimed]</RawData>
<PrimaryValue>13.7500 Deg C</PrimaryValue>
<Temperature Units="Centigrade">13.7500</Temperature>
<Vdd Units="Volts">3.390000</Vdd>
<Vad Units="Volts">1.880000</Vad>
<Vsense Units="Millivolts">15899.209961</Vsense>
<Humidity Units="PercentRelativeHumidity">62.00</Humidity>
</owd_DS2438>
</Devices-Detail-Response>

Posted on
Fri Aug 21, 2015 3:56 am
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: Support for OWServer v. 1

lindehoff wrote:
Hello,
Would it be possible to get support for OWServer V. 1?

Hi lindehoff - I'll take a look and see what would be involved. I would say the chances are pretty high. :D
Dave

Posted on
Sat Aug 22, 2015 5:33 am
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: EDS 1-Wire Server Plugin

Hi lindehoff -

I PM'd a link to a pre-production version of the plugin that (hopefully) includes support for the DS18B20 on the version 1 server.

Please let me know how you get on. Cheers.
Dave

Posted on
Sat Aug 22, 2015 1:49 pm
lindehoff offline
Posts: 76
Joined: Aug 08, 2015

Re: EDS 1-Wire Server Plugin

Perfect, it seem to work very well for DS18B20.

Posted on
Sat Aug 22, 2015 3:17 pm
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: EDS 1-Wire Server Plugin

lindehoff wrote:
Perfect, it seem to work very well for DS18B20.

Excellent. Thanks. I'll get cracking on the remaining code as soon as I can.
Dave

Posted on
Sun Aug 30, 2015 11:32 am
lindehoff offline
Posts: 76
Joined: Aug 08, 2015

Re: EDS 1-Wire Server Plugin

Thanks for the latest update 0.7.01 it seems to work great with my OWServer Version 1 but I get en error in the event log:
Code: Select all
  OWServer                        Getting OWServer data...
  OWServer Error                  Unable to update device state on server.
  OWServer Error                  Device: Light, Reason: 'NoneType' object has no attribute 'text'
  OWServer Error                  Unable to update device state on server.
  OWServer Error                  Device: Temp 01, Reason: 'NoneType' object has no attribute 'text'
  OWServer Error                  Unable to update device state on server.
  OWServer Error                  Device: Test, Reason: 'NoneType' object has no attribute 'text'
  OWServer                          Total of 0 servers polled.
  OWServer                          Total of 4 sensors polled.
  OWServer                        OWServer data parsed successfully.

Posted on
Sun Aug 30, 2015 1:26 pm
DaveL17 offline
User avatar
Posts: 3427
Joined: Aug 20, 2013

Re: EDS 1-Wire Server Plugin

I think that there's actually a couple of things going on here. First, the plugin seems to be choking on three sensors: 'Light', 'Temp 01', and 'Test'. Second, there's something causing the number of servers polled to report as Zero.

Please turn debugging on High and let the plugin run a full cycle. Once that's done, please send the entire log segment to me in a PM.

It's a little tough to code when I don't have a rev. 1 server. :D

Dave

Who is online

Users browsing this forum: No registered users and 1 guest

cron