Add support for Teensy to MySensors library

Status
Not open for further replies.
Hi Paul,

Always thanks for the fantastic work.

I am using an old and trysty Teensy 3.1 as a home energy monitor using eMonLib as a basis. It monitors 3 mains phases (Voltage and Current) and 6 output circuits (Current), using Pedvide's ADC to speed things up.

Now I need to integrate it with my Domoticz installation which runs on a MySensors mesh network which does not support Teensy at all. Can you take a look at this library to see how difficult it would be to add Teensy support for it ? It runs mainly on Arduinos so I feel that the extended capabilities of the Teensy architecture would enable the development of more capable sensors such as the one I am building right now. There were calls in the past in the library forum for other platforms, Teensy included (https://forum.mysensors.org/topic/529/sam-architecture-due-teensy-3) but did not go further.

Perhaps you would prefer to assemble a team of other interested Teensy and MySensors users to do the conversion job with your support. I would like to be part of it.

The information on the library:

Github link ==> https://github.com/mysensors

Home Page ==> https://www.mysensors.org/

Best regards,

Luiz Roberto Rocha
Rio de Janeiro
Brazil
 
I'm looking at this library now. Seems it needs a special hardware config file for each board.

I'll try to cobble one together soon. But I don't have the hardware (or time) for much testing. Can you tell me which sensors and which examples you're interested in using? This lib has *many* examples! I'll test with that example first.....
 
Thanks Paul.

Yes, you're more than right. MySensors is an ecosystem on its own.

There are several features I don't expect to have ported to Teensy soon such as OTA updates, a specific low-power bootloader, a communications gateway, support for several other radios besides NRF24L01+, etc. I believe this could come in time later, as soon as basic Teensy-as-a-node support is achieved.

You could start with the MotionSensor example and simulate the input with just a switch.

And I would be happy to try to compile and test everything else as soon as you have a beta of the library :)
 
Last edited:
Great, works right out of the box.

Please go ahead and ask for a pull request. We can even try to work on the other parts (I'd love to see the Arduino OTA which is part of the Bootloader ported to Teensy :)

GREAT WORK !!!
 
Status
Not open for further replies.
Back
Top