OWServer Plugin Updates

Posted on
Mon Dec 15, 2014 7:05 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

OWServer Plugin Updates

OWServer v0.6.7 is now available.

v0.6.7:
- Changes plugin file naming conventions to correct problems with some installations. This update is only necessary for installations that do not display the plugin Config menu option.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Jan 01, 2015 10:37 am
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.6.8 is now available.

- Adds plugin menu items for instant version update checking and debug toggling.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Jan 09, 2015 7:42 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.6.9 is now available.

- Fixes bug in temperature conversion for metric installations.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Jan 13, 2015 7:34 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.6.93 is now available.

- Fixes bug in device ROM identification where Unicode required.

This update is not required for all installations. If your installation is working as expected, you can skip this update.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat May 16, 2015 5:06 am
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.7.0 is now available.

WARNING! This update may require users to delete and reassign all existing 1-wire sensor devices.
If the plugin has been working well for you, please consider whether the following changes are worth the potential extra work involved with upgrading.

v0.7.0:
    - Adds a new device type to represent the OW server itself.
    - Now supports multiple servers. Enter multiple IP addresses, separated by a comma.
    - Significant rewrite of device code including support for numerous new sensor types.
    - Implements new device features including: greater use of device controls where appropriate: UI state values, on/off state, etc.
    - Adds user control over which device state to display in the item list and under the state "sensorValue" -- this applies only to devices where the choice is appropriate.
    - Adds menu item to provide for instantaneous refresh of device states (sensor values) which is under: "Refresh Sensors Now..."
    - All sensors update after configuration dialog closed with 'Save'.
    - Adds debug levels -- Low, Medium, High.
    - Many, many code refinements.

The initial version of the plugin only supported one server. In order to support multiple servers, it was necessary to create multiple instances of the plugin. The OWServer plugin now supports multiple servers natively.
Screen Shot 2015-05-16 at 5.59.31 AM.png
Screen Shot 2015-05-16 at 5.59.31 AM.png (129.72 KiB) Viewed 14288 times

The initial version of the plugin only supported the DS18B20. The OWServer plugin now supports:
Screen Shot 2015-05-16 at 5.49.29 AM.png
Screen Shot 2015-05-16 at 5.49.29 AM.png (48.6 KiB) Viewed 14288 times


Here's a quick example of what a server control page element could look like:
Screen Shot 2015-05-16 at 5.37.28 AM.png
Screen Shot 2015-05-16 at 5.37.28 AM.png (21.05 KiB) Viewed 14288 times

As a side note, you'll notice that I have over 2 million polls since the last reset of my server; an error rate of 0.000007%. This is a testament to the stability of the 1-wire sensor system and to the EDS 1-wire server itself. I have been extremely happy with this system and am about ready to unleash many more sensors.

So there you have it. As always, please post to the forum or drop me a PM if something doesn't seem quite right. This is a huge update and a big rewrite so the chances are more than slim there will be some tweaks needed.

Cheers!
Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Aug 27, 2015 9:20 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.7.01 is now available.

This is another pretty big update, so there's a fair chance that a bug or two snuck through. Let me know.

v0.7.01
- Adds uniform support for OWSERVER-ENET version 1 server.
- Adds support for EDS0067 Temperature and Light Sensor.
- Adds menu items to enable/disable all OWS devices.
- Adds Indigo custom device icon enumeration (device list, Indigo Touch, etc.)
- Adds configuration option to suppress results logging (still logs errors.)
- Code Refinements:
    - Refines configuration dialogs.
    - Improves Unicode support.
    - Increases compliance with PEP8.
    - Updates plugin to use Python 2.6 as default.
    - Moves parsing to methods for each type of sensor.
    - Improves debug logging implementation.
    - Minor improvement to built-in timer accuracy.
- Fixes bug in display precision routine.
- Fixes bug where new (unconfigured) devices are reported as being offline.
- Fixes bug in debug logging.

You can download it here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Sep 01, 2015 8:20 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.7.02 is now available.

- Refines logging of device update status for OW-Server-ENET (Rev. 1)
- Refines device states to account for differences in OW-Server-ENET (Rev 1 and Rev 2) servers.
- Refines compliance with PEP8.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Oct 28, 2015 9:07 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.8.00 is now available.

This qualifies as a major update, so it is highly recommended that users apply this update carefully. You should make a copy of your current plugin just in case. First, a description of the changes (there's quite a few.) The highlights:

Support for many new sensor types.
Automatic server detection.
Adds two Action types. More on that in a minute.
Allows temperature values to be adjusted for precision.
Adds ability to write directly to sensors. More on that in a minute too.

The details:
Code: Select all
- Adds support for EDS0064 (Temperature Sensor with Counter)
  Adds support for EDS0065 (Temperature and Humidity Sensor)
  Adds support for EDS0066 (Temperature and Barometric Pressure Sensor)
  Adds support for EDS0070 (Vibration Sensor)
  Adds support for EDS0071 (RTD Interface, 4 Wire)
  Adds support for EDS0080 (Octal 4-20 Milliamp Input)
  Adds support for EDS0082 (Octal Current Input)
  Adds support for EDS0083 (Quad 4-20 Milliamp Input)
  Adds support for EDS0085 (Quad 0-10 Volt Input)
  Adds support for EDS0090 (Octal Discrete IO)
- Adds config setting for sensors with/without optional relay.
- Adds temperature adjustment field to allow for fine-tuning
  sensor temperature values (value in °C.) For example, entering a
  value of -1 will adjust the temperature reading by -1°C or by -1.8°F.
- Adds Indigo Action item to update all sensor devices.
- Adds Indigo Action item to send command to a 1-Wire device.
- Adds Indigo Menu item to send command to a 1-Wire device.
- Updates DS2408 to allow selection of switches 0-7 as the primary
  sensor display value.
- Implements Indigo custom device state icons for all switches,
  relays, and LED states to reflect on or off.
- Fixes bug where some devices did not properly track LED and Relay
  states.
- Moves server communication test from plugin configuration menu to
  the Indigo plugin menu (reduces clicks to run the test) and allows
  user to send XML output to the Indigo log (useful when trouble-
  shooting problems.)
- Reorders sensor list by sensor number rather than name for easier
  identification.
- Code enhancements:
    - Fixes some device state data types.
    - Simplifies configuration validation code.
    - Simplifies data parsing routines.
    - Standardizes device display preferences. May require users to
      reselect default display value for some devices.

Automatic server detection: When checked, the plugin will try to identify all OWS servers on your network and add them to the plugin. If you find the plugin is struggling to identify them all, uncheck the box and you can enter your server IPs manually.

Writing to sensors: you can write data to any variable designated as "Writeable" (see your details.xml file to identify the variable name.) There is next to no error checking on this--basically, whatever you send, the plugin will attempt to write it. So be careful. I'll try to bake in more contextual evaluation in a future release. You can write to sensors in one of three ways:

1. For one-off changes, you can use the Indigo Plugin Menu. Select the option "Send Command to 1-Wire device". Select the IP address and ROM ID for the sensor in question, fill in the variable name and the value you want to write. For example:
Screen Shot 2015-10-28 at 9.39.56 PM.png
Screen Shot 2015-10-28 at 9.39.56 PM.png (60.54 KiB) Viewed 13890 times


2. For more automated changes, you can use an OWServer Action Item. For example, using a Trigger, you will be presented with essentially the same configuration parameters.

3. With Python scripts. Using code such as the following, replacing the payload values with values appropriate to your circumstance:
Code: Select all
pluginId = "com.fogbert.indigoplugin.OWServer"
plugin = indigo.server.getPlugin(pluginId)
props = {"server": "10.0.1.123", "romId": "2A700003C74F4528", "variable": "clearAlarms", "value": "0"}
if plugin.isEnabled():
    plugin.executeAction("sendToServerAction", props)

Adjusting temperature value precision: This is hopefully very straightforward. Under the device configuration dialog (only for devices that support temperature) enter a positive or negative integer in degrees C. In other words, entering a 1 is 1 degree C or 1.8 degrees F.

There are many more aspects to the changes but I think that these three are the only ones that require immediate explanation. While folks run the update through its paces (thanks to a couple folks that acted as guinea pigs before rollout!) I plan to turn my efforts to constructing a much more detailed manual to explain the ins and outs of the plugin.

Enjoy, and please post any bugs or suggestions for improvements to the forum. With all the changes, its likely a few things snuck through.

You can download it here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Jan 26, 2016 7:18 am
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v0.8.2 is now available.

- Fixes bug that may cause fresh installations to crash when setting plugin configuration settings.
- Minor UI refinements.

You can download it here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Dec 20, 2016 6:16 am
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v1.0.01 is now available

- Migrates the project to GitHub and increments the version number.
- there have been considerable under-the-hood changes to the code (no new functionality). Plugin has been tested--but for safety's sake, you should backup before applying this update.

You can download it here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Mar 09, 2017 6:59 am
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v1.0.02 is now available.

  • Moves support URL to Github.
  • Minor UI refinements.
  • Fixes bug in plugin configuration dialog validation.
  • Fixes bug in device configuration dialog validation.
  • Fixes bug in test server communication routine.
  • Code refinements.
You can download it here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Feb 05, 2018 1:12 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v1.0.05 is now available.

1.0.05
  • Updates plist link to wiki.
  • Updates plugin update checker to use curl to overcome outdated security of Apple's Python install.

1.0.04
  • Code consolidation using DLFramework.
  • Adds note to documentation that the plugin does not require Internet access to function.
  • IPS configuration.

1.0.03
  • Stylistic changes to Indigo Plugin Update Checker module.
  • Improves code used to write sensor data to the Indigo Logs folder.
  • Standardizes plugin menu item styles. Menu items with an ellipsis (...) denote that a dialog box will open. Menu items without an ellipsis denote that the plugin will take immediate action.

You can download it here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Feb 24, 2019 9:30 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v1.0.06 is now available.

  • Removes plugin update notifications.
  • Code refinements.
You can download it here.
You can read the plugin documentation on the Wiki

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Nov 12, 2020 7:07 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v1.0.09 is now available.

v1.0.09
  • Fixes broken link to readme logo.
v1.0.08
  • Better integration of DLFramework.
v1.0.07
  • Removes all references to legacy version checking.

You can download it here.
You can read the plugin documentation on the Wiki

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Dec 02, 2020 3:19 pm
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: OWServer Plugin Updates

OWServer v1.0.10 is now available.

  • Fixes aggressive logging of unsupported data elements for Server devices.
You can download it here.
You can read the plugin documentation on the Wiki

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 2 guests

cron