more G-Labs products

Author Topic: Control 'Arduino clones with a tranceiver' package (TRAINING)  (Read 437 times)

September 25, 2016, 10:17:44 PM
Read 437 times

wolfgang928

  • *
  • Information
  • Newbie
  • Posts: 10
A new transceiver control package is available to download

I have build a new RFM69HW transceiver package Control 'Arduino clones with a tranceiver'

https://github.com/genielabs/homegenie-packages/tree/master/packages/Devices%20and%20Things/Rfm69%20modules

This package is not only a working program with a full-featured widget but also a training version to demonstrate of course not all but a big amount of HomeGenie features.

Although HomeGenie scripting programs are not intended to develop complex programs, I have done that on purpose to show
what is possible and where are the limits. Decide yourself, when shift functionalities into compiled interfaces or realize
that with HGX.


HGX Program in C#
+ Web service calls with normal strings or JSON objects supported
+ Automatic module switch off with using threads and terminate them too
+ protocol log output to a special program specific file (later using for graph plots)
+ direct web calls without widget supported (but works for widget configured modules too)
+ serial interface configuration
+ support of icon upload with widget or as json stream
+ dynamic configuration of selected virtual modules count
+ supporting configurable serial command queue
+ multiple use of new System.Dynamic.ExpandoObject();
+ configure boards and pins only in HGX file and widget get data from HGX

Some things are not implemented yet:
- HandleStringReceived = (string message) of serial interface
- HandleMessageReceived = (byte[] message) of serial interface
- receiving sensor data

Wigdet V2 in JavaScript
+ flot graph to display to switch on/off times of all used rfm modules
+ multiple time areas like year, quarter, month, week, day, hour and zooming in timescale are supported
+ support of filtering logbook list and graph
+ multi language support of graph time axis
+ multi popup dialogs supported with $$.ui.SwitchPopup(old popup, new popup)
+ using $.ajax to include foreign js plugins i.e FileSaver to download files from widget itself
+ support save and cancel while changing module parameter
+ using of $$.locales.GetWidgetLocaleString($$._widget,'rfm.arduino.off','OFF') for non html translations
+ support of uploading image files into /pages/control/widgets/homegenie/generic/images/icons/
+ select on / off icons from /pages/control/widgets/homegenie/generic/images/icons/ path and the widget path
     $$.fillIconList("pages/control/widgets/homegenie/generic/images/icons/,pages/control/widgets/rfm/images/");     

Enjoy it and perhaps the one or other could use fragments of this for their own development.

Best regards
Wolfgang
« Last Edit: September 25, 2016, 10:28:52 PM by wolfgang928 »


There are no comments for this topic. Do you want to be the first?