Commit Graph
39 Commits
Author SHA1 Message Date
Florian c915ddfa48 ADC pin reading (#106)
* ADC pin reading

#95

* arduino and always flag correction

* optimize sram use and remove adc sensor option per default

* integrate a threshold
2017-09-28 22:43:12 +02:00
1technophile 66b607015b correct merge 2017-09-23 16:39:43 +02:00
1technophile 9ebbe99412 resolve conflicts 2017-09-23 16:31:21 +02:00
Lars Englund 0d1e7bbe75 Makes RF2 sending and receiving work for ESP8266 with added support for group bit and dimming (#113)
* Made rf2 sending and receiving work

With code from https://github.com/1technophile/OpenMQTTGateway/pull/109
plus some other fixes.

* Added support for group bit

Added support for sending and receiving group bit

* Group bit and MQTT retransmitting

Added support for sending and receiving group bit.
Made the gateway transmit the new state of a RF2 switch to the MQTT state topic when it receives a MQTT command to control that switch.

* Removed hard coded RF2 code length

* Added support for dimming to RF2

Verified to work with Nexa WMR-250 dimmer.

* Minor cleanup
2017-09-21 23:32:02 +02:00
1technophile 0513629190 Some comments to specify the incompatibilities 2017-09-17 22:21:06 +02:00
1technophile 3c5daf49e4 new wiring modifications 2017-09-17 21:32:13 +02:00
Florian 441ab1c0b7 User config division (#97)
* some minor correction after coadcy checks

* Put serial communication speed as a parameter in user_config.h

* complete gateway file

receiving ok
sending ko
#32

* add rfm69 to CI

* change receiver key and minor improvments

#32

now ok on receiving and sending with RFM69

* add schema and tested pinout for RFM69/RF/IR wiring

#32

* RFM69 library add

* Implement newremoteswitchlibrary for KlikAanKlikUit / ClickOnClickOff protocol

#3

* add dependency for CI and link to the library

* compilation error for arduino correction

* Sketch size decrease

* remove nano from CI

* Divide user_config into one file per gateway/sensor for lisibility
2017-09-01 00:41:29 +02:00
Florian f8ede4aa94 Zgateway rf2 (#94)
* some minor correction after coadcy checks

* Put serial communication speed as a parameter in user_config.h

* complete gateway file

receiving ok
sending ko
#32

* add rfm69 to CI

* change receiver key and minor improvments

#32

now ok on receiving and sending with RFM69

* add schema and tested pinout for RFM69/RF/IR wiring

#32

* RFM69 library add

* Implement newremoteswitchlibrary for KlikAanKlikUit / ClickOnClickOff protocol

#3

* add dependency for CI and link to the library

* compilation error for arduino correction

* Sketch size decrease

* remove nano from CI
2017-09-01 00:35:26 +02:00
Florian ba51e340d2 Zgateway rfm69 (#88)
* some minor correction after coadcy checks

* Put serial communication speed as a parameter in user_config.h

* complete gateway file

receiving ok
sending ko
#32

* add rfm69 to CI

* change receiver key and minor improvments

#32

now ok on receiving and sending with RFM69

* add schema and tested pinout for RFM69/RF/IR wiring

#32

* RFM69 library add
2017-09-01 00:31:49 +02:00
Florian 56057690a5 Pr/61 add I2C sensors BME280 and BH1750 (#64)
* changed user config

* added lightsensor module

* changed Pin Adresses

* Added I2C Lightsensor

Added the I2C Lightsensor and Switchted most Pins

* removed some debug to serial

removed some debug stuff was send to serial console

* Merge with Master

* Too much things for arduino uno

per default remove sensors for it

* Adding I2C Module function

Opens the Door on OpenMQTTGateway for "i2c Bus Modules/Sensors"

* Fixing BH1750 detection

Fixing the detection for a missing BH1750 Module

* Add libraries and define sensors depending on wiring type #63
2017-06-14 23:42:11 +02:00
Patrick Wilhelm 89e1d6fbd8 related to #52 (#59)
* Added OTA-Support for ESP8266

#52 thanks!
2017-06-09 22:02:05 +02:00
1technophile be7a876dfd add send panasonic IR and send MM
#53
sendPanasonic for arduino & ESP8266
sendRCMM for ESP8266
some trace reductions
2017-06-06 21:32:14 +02:00
1technophile 9481bcd868 transmit IR raw data to MQTT
#9
2017-06-02 23:18:00 +02:00
1technophile 9e9a2cd191 MIT -> GPL V3
#51
2017-06-02 23:18:00 +02:00
1technophile adae903294 RF bits length settable into mqtt topic 2017-05-23 22:38:23 +02:00
1technophile 186d1cc478 Program size optimization for arduino uno 2017-05-20 14:42:15 +02:00
1technophile 4d04780553 ability to repeat signal
#27
2017-05-20 14:29:16 +02:00
1technophile 3b2b740f29 For arduino not allow sendraw per default
to stay under sram consumption preconizations
2017-05-16 21:49:49 +02:00
1technophile e909f16b74 add send raw function for IR
#46 #9
2017-05-16 21:40:25 +02:00
1technophile c0879e8d22 Arduino compatibility for HM10
#19
2017-05-06 23:07:24 +02:00
1technophile 2b682922a4 add possibility of advanced IR parameter publishing
#38
2017-05-05 22:23:39 +02:00
1technophile 8e033c093a add sending availability of IR code raw from GC
#9
2017-05-04 23:43:21 +02:00
1technophile cdc3791817 sram optimization following platform 2017-05-01 16:38:11 +02:00
1technophile fc87385b38 BTtoMQTT publishing 2017-05-01 16:20:42 +02:00
1technophile 07810d5f61 filter IR signal with an unknown protocol
#36
2017-04-23 22:17:10 +02:00
1technophile 575eb9063e some corrections
value assignments for advanced data
progmem not available for esp8266
avoid unecessary storevalue
2017-04-21 14:09:36 +02:00
1technophile 8c174255c4 Sram optimization 2017-04-20 23:11:09 +02:00
1technophile ec90b44360 split main file so as to be able to load either RF either IR either both 2017-04-20 13:52:20 +02:00
1technophile 0bbf882b30 Allow multiple gateways installation to remove duplicate with different topics "hom"
and remove duplicate for IR and when there is multiple gateways
2017-04-13 21:14:16 +02:00
1technophile bdb968e097 Add advanced mqtt publishing of ir data
first part of #9
2017-04-09 16:14:55 +02:00
1technophile d071ca8d0e correct compilation error for arduino 2017-03-25 21:41:06 +01:00
1technophile f39422d23c Add advanced network parameters
#31
2017-03-25 21:25:23 +01:00
1technophile afe9af8904 Add MQTT last will testament implementation
#30
2017-03-24 23:28:41 +01:00
1technophile 6c795aa802 Change the acknowledgment to be Home assistant compatible
#29 Instead of returning acknowledgement as a string to a subtopic
return the pauload to a defined topic in user_config.h
2017-03-24 22:16:28 +01:00
1technophile ee3a76d348 Add advanced RF data to subject433toMQTTAdvanced
#21
2017-03-16 20:08:17 +01:00
1technophile 1658784612 Revert "Publish advanced RF received data"
This reverts commit f14d4f3245.
2017-03-15 22:41:37 +01:00
1technophile f14d4f3245 Publish advanced RF received data
#21 fixed
2017-03-15 21:58:08 +01:00
1technophile 7a7529bb69 put mqtt port into a contant 2017-02-27 20:09:09 +01:00
1technophile d70875c13d OpenMQTTGateway refactoring of 433toMQTTto433 and 433nIRtoMQTTtoIRn433 2017-02-22 20:34:16 +01:00