Dear HKJ,
I have made several new definitions for readout (new), relay and temperature devices to strengthen the supported equipment list of TestController.
Eletechsup DM18A01 1digit, DM18B02 2digit, DM18C04 4digit and DM18D06 6digit 7 segment display module
Eletechsup DM56A04 4digit and DM36B06 6digit 7 segment display module
Ebyte EID051 -133,-134,-135 and -138 3digit and EID051 -143,-144,-145 and -148 4digit 7 segment display module
LC Tech LCUS-1 1CH, LCUS-2 2CH, LCUS-4 4CH and LCUS-8 8CH USB relay module
XY MD02 (AHT20), MD02 (SHT20), SHTC3 (SHTC3) and MD02 (SHT40) 1CH Humidity & Temperature transmitter module
Ebyte EID041-G01 and EID041-G01S 1CH Humidity & Temperature transmitter moduleThe Eletechsup displays can show comma's and signs however they do not support showing floating point numbers directly. I've written a floating point program in the definition, so that floating numbers are supported anyway. The firmware of the Eletechsup displays is very buggy so I needed a lot of code show floats correctly on the led displays.
The Ebyte display is much more advanced and easier to program, and is also bug-free. Floating point numbers are supported by hardware and in the setup menu you can choose to use firmware (=default) or definition based (like above Eletechsup equivalent) floating point support.
The LCUS-x USB relay modules were originally designed by Shenzhen LC Technology (originals have a PCB with LC on the silk screen), but the defintion should also work for clones (they are offered on many websites, eg. Banggood, Amazon, Aliexpress, Ebay, etc). These are USB relays, that plug straight into an USB port so without an additional adapter. They don't suport bitmask operations natively, but my defintion has code to support it anyway. They use RS232 internally and offer easier USB connection than the Eletechsup 10IOA0xx relay modules I released earlier.
I hope now more people can enjoy the Battery Test popup. It is now a very cheap option to own TC controlled relay without any (RS485) additional adapter.
The Humidity & Temperature transmitter modules are all RS485 based and all look very similar but the internal sensor, connection order, and Modbus register and/or input assignment is different. There are more types, but the ones my definitions support are the most common and widely available ones. They are classified as temperature in TC but there main purpose is measure humidity (but there is no #interfaceType in TC for this). They also measure Temperature, which is a big bonus.
With the new readout #interfaceType it is possible to show values on a (small) display. I use it a lot to show temperatures with a little script. You can even make a clock with TC, with #RUNSCRIPTASYNC, very cool:
=var targetDevice="DM36B06"
=var a=1
#while isLoaded(targetDevice)
=a=substring(date(),8,14)
=setReadoutFloat(targetDevice,a);
#delay 1
#WAITUI
#endwhile
I also added a secondary function to the #interfaceType readout:
#interface setReadoutSI, set readout to show value with SI prefix
#interface getReadoutSI, get the shown value with SI prefix of the readout
This allows the readout to show SI prefix values like 1.00K and 2.34G just like a (modern) DMM.
As a milestone for myself, I now also have used the #driver block for the new relay (LCUS-x) definitions. So now I should pass my "Official #driver license for TestController" !

Please add these definitions (and the additional secondary #interface functions in the documentation) to the next release of the wonderful world of TestController.
PS. I will release more definitions in May.
Part of TestController v3.03