r45635 / hvac-ir-control Goto Github PK
View Code? Open in Web Editor NEWIr Send - Updated for HVAC Mitsubishi & Panasonic IR
License: GNU General Public License v3.0
Ir Send - Updated for HVAC Mitsubishi & Panasonic IR
License: GNU General Public License v3.0
Hi,
I tried this code, but no reaction from the AC.
I have confirmed that the IR LED is indeed blinking (using smartphone camera)
Below are the RAW codes for my on and off. Any tips on the best way to get started? Thank you.
//aircon ON Raw: (583) 3436, -1724, 440, -1284, 408, -1316, 444, -424, 440, -424, 440, -428, 436, -1288, 436, -428, 440, -424, 412, -1316, 440, -1280, 436, -436, 440, -1284, 440, -428, 436, -424, 412, -1316, 444, -1280, 436, -428, 440, -1280, 416, -1308, 440, -428, 408, -460, 412, -1316, 436, -424, 412, -456, 440, -1288, 412, -456, 412, -456, 412, -456, 436, -432, 412, -460, 412, -456, 440, -428, 440, -428, 440, -424, 436, -432, 412, -460, 436, -424, 440, -424, 440, -436, 436, -428, 440, -432, 436, -428, 440, -424, 440, -432, 436, -428, 440, -1280, 412, -456, 440, -428, 436, -432, 412, -452, 440, -428, 440, -1284, 440, -1276, 468, -412, 436, -424, 436, -444, 408, -460, 440, -1288, 412, -452, 440, -1284, 440, -436, 412, -460, 440, -424, 412, -456, 436, -428, 468, -1264, 412, -1316, 440, -424, 468, -1264, 412, -1312, 408, -456, 440, -432, 412, -460, 436, -424, 440, -428, 444, -420, 412, -456, 440, -428, 436, -1288, 440, -424, 440, -1280, 440, -1280, 440, -432, 408, -460, 440, -428, 440, -424, 412, -456, 412, -456, 412, -456, 412, -456, 412, -456, 412, -456, 412, -460, 432, -440, 408, -460, 436, -432, 436, -428, 440, -424, 440, -428, 412, -460, 440, -424, 440, -420, 440, -440, 436, -424, 444, -428, 444, -420, 440, -424, 444, -428, 412, -452, 412, -456, 436, -440, 436, -432, 440, -428, 412, -460, 436, -428, 412, -452, 440, -428, 440, -1284, 412, -456, 412, -456, 440, -424, 440, -428, 440, -420, 408, -456, 412, -460, 436, -424, 412, -456, 440, -432, 436, -432, 440, -424, 412, -456, 440, -424, 412, -456, 412, -456, 408, -456, 440, -424, 412, -456, 440, -428, 440, -424, 412, -456, 412, -1312, 440, -1292, 416, -1308, 412, -1316, 440, -17200, 3512, -1744, 444, -1280, 412, -1312, 440, -428, 436, -428, 444, -424, 440, -1280, 440, -424, 444, -424, 408, -1316, 440, -1280, 440, -424, 436, -1288, 440, -424, 408, -464, 408, -1312, 436, -1288, 440, -432, 408, -1316, 440, -1288, 440, -432, 440, -428, 440, -1280, 436, -428, 440, -428, 436, -1284, 440, -424, 440, -424, 440, -428, 440, -428, 440, -424, 440, -424, 440, -424, 476, -404, 440, -424, 412, -464, 436, -424, 440, -424, 412, -456, 412, -456, 436, -428, 436, -432, 440, -424, 436, -428, 436, -428, 436, -432, 440, -1288, 412, -448, 436, -436, 440, -424, 408, -460, 436, -432, 436, -1292, 412, -1316, 412, -452, 408, -456, 424, -444, 436, -432, 440, -1284, 440, -420, 412, -1320, 436, -424, 412, -456, 436, -428, 412, -452, 436, -436, 440, -1284, 440, -1280, 412, -460, 440, -1280, 412, -1316, 412, -456, 436, -428, 440, -428, 440, -428, 440, -424, 440, -428, 412, -460, 436, -428, 412, -1316, 436, -432, 436, -1280, 436, -1284, 444, -424, 408, -460, 412, -484, 412, -428, 436, -428, 444, -420, 444, -420, 412, -456, 412, -456, 412, -456, 412, -456, 412, -464, 412, -456, 440, -428, 440, -424, 440, -424, 440, -432, 408, -460, 440, -424, 440, -420, 444, -436, 440, -424, 440, -428, 440, -424, 440, -428, 440, -428, 412, -456, 408, -460, 436, -436, 440, -428, 440, -428, 412, -460, 440, -424, 412, -452, 416, -452, 440, -1284, 436, -428, 436, -428, 440, -428, 412, -456, 440, -428, 412, -460, 440, -424, 440, -428, 436, -428, 440, -424, 436, -432, 408, -464, 440, -424, 412, -460, 436, -432, 468, -408, 436, -428, 412, -464, 444, -424, 412, -452, 440, -428, 440, -428, 440, -1276, 412, -1316, 440, -1284, 444, -1276, 440,
//aircon OFF Raw: (583) 3412, -1748, 416, -1312, 436, -1284, 408, -460, 436, -428, 408, -464, 412, -1308, 412, -456, 412, -456, 436, -1284, 412, -1312, 440, -424, 408, -1316, 440, -424, 408, -460, 412, -1312, 412, -1316, 440, -428, 412, -1312, 412, -1312, 412, -456, 444, -424, 440, -1276, 416, -464, 440, -424, 440, -1284, 440, -424, 408, -460, 408, -460, 436, -428, 412, -460, 412, -452, 408, -464, 408, -456, 412, -456, 412, -448, 412, -456, 408, -456, 412, -456, 440, -424, 408, -460, 408, -456, 412, -456, 440, -428, 440, -420, 412, -456, 476, -404, 440, -424, 408, -468, 412, -456, 440, -424, 440, -428, 440, -1280, 440, -1284, 412, -456, 440, -428, 440, -428, 436, -432, 412, -1312, 412, -456, 440, -1284, 412, -456, 412, -452, 412, -456, 412, -456, 444, -420, 440, -1284, 408, -1320, 412, -452, 412, -1312, 440, -1284, 412, -452, 436, -428, 436, -436, 412, -452, 436, -436, 436, -428, 440, -424, 408, -460, 440, -1280, 412, -460, 412, -1316, 412, -1316, 408, -456, 412, -452, 412, -456, 408, -460, 408, -456, 440, -428, 412, -456, 440, -424, 412, -456, 412, -460, 408, -460, 472, -404, 436, -428, 408, -468, 412, -460, 436, -428, 440, -424, 440, -424, 412, -456, 412, -456, 408, -456, 412, -452, 412, -460, 420, -444, 412, -452, 412, -456, 432, -444, 412, -460, 440, -424, 408, -456, 444, -424, 412, -452, 436, -432, 440, -424, 412, -460, 412, -1312, 412, -456, 412, -456, 444, -420, 436, -432, 412, -460, 440, -424, 412, -456, 408, -460, 472, -408, 412, -452, 412, -456, 444, -420, 412, -452, 436, -432, 412, -456, 444, -424, 408, -456, 412, -456, 436, -428, 408, -460, 408, -460, 412, -456, 432, -1292, 412, -456, 468, -1264, 412, -1312, 412, -17096, 3536, -1724, 472, -1264, 412, -1312, 412, -456, 408, -456, 408, -460, 412, -1312, 412, -452, 412, -456, 436, -1284, 412, -1312, 408, -456, 412, -1308, 440, -432, 412, -452, 444, -1280, 412, -1316, 440, -428, 436, -1284, 416, -1312, 412, -456, 412, -456, 412, -1316, 440, -428, 440, -428, 408, -1312, 412, -456, 440, -424, 440, -428, 440, -424, 440, -424, 408, -468, 440, -424, 436, -432, 440, -424, 440, -428, 440, -428, 412, -456, 408, -456, 436, -440, 440, -428, 436, -432, 412, -460, 440, -424, 408, -460, 436, -428, 412, -452, 436, -432, 436, -428, 440, -424, 408, -456, 412, -456, 436, -1284, 412, -1312, 412, -456, 440, -424, 412, -456, 440, -424, 436, -1288, 412, -456, 412, -1312, 408, -460, 408, -456, 440, -424, 440, -428, 412, -460, 412, -1312, 440, -1284, 412, -456, 436, -1284, 412, -1312, 440, -428, 408, -460, 440, -420, 440, -428, 436, -432, 412, -452, 412, -456, 408, -456, 408, -1316, 436, -424, 412, -1316, 436, -1284, 440, -420, 440, -428, 436, -424, 412, -452, 412, -460, 412, -456, 440, -424, 440, -424, 440, -428, 440, -428, 440, -424, 440, -424, 412, -456, 440, -428, 412, -452, 412, -464, 436, -424, 412, -456, 440, -428, 436, -424, 440, -428, 440, -424, 440, -424, 412, -456, 408, -456, 440, -424, 440, -432, 412, -460, 440, -424, 412, -452, 412, -456, 464, -416, 436, -436, 412, -452, 440, -428, 408, -1316, 440, -432, 440, -428, 436, -428, 440, -428, 408, -460, 440, -424, 436, -432, 440, -424, 440, -424, 440, -428, 440, -420, 468, -408, 436, -436, 408, -456, 436, -436, 412, -452, 440, -428, 436, -432, 436, -428, 436, -428, 436, -428, 416, -452, 412, -1312, 412, -456, 436, -1288, 440, -1284, 412,
Would this library work with the Mitsubishi SRK35ZMP-S AC?
Bonjour,
En effet selon les modéles de clim de marque Panasonic, les codes IR sont bien différents.
Moi je dispose d'une autre telecommande IR du coup j'ai un peu de mal avec le CRC de la 2de trame.
J'ai bien réussi à trouver et décoder les boutons de température, swing vertical, switch horizontal et mode mais maintenant je bloque sur le checksum, je n'ai pas bien compris tes explications suivantes
Byte #19 of frame 2 is the checksum for frame 2. It allows the AC unit to know whether the command sent is valid or not. The checksum is the sum (addition) of the previous 18 bytes modulo 256 (frame 2 only).
Peux tu m'expliquer avec un peu plus de détail stp ?
Quand tu dis que ta seconde trame à une longueur de 18octets, compte tu le marqueur 9950, 3500 et 1750 en début de seconde trame ?
Pour info mes 2 trames de ma clim Panasonic ont une longueur de 216bits.
Capture de mes codes Ir en fonction de la température (1ere ligne)
Il y a entre ** ** mes valeurs binaire qui changent en fonction de la temperature et à la fin également il y a ces marqueurs pour montrer les valeurs CRC qui changent.
Les X des 2 premiéres lignes = 3700 et 1750
Les 3 X des lignes en milieu de mon code sont 9950, 3500 et 1750 pour commencer la nouvelle trame.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
X X X X X X X X X X X X X X X
X X X X X X X X X X X X X X X
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Je n'arrive pas à trouver la correlation entre le chagement des valeurs de la température et les valeurs du CRC.
Cordialement
Good evening,
on my mitsubishi remote I have the ventilation.
In your code there is not:
There is a voice auto that corresponds to the code 0x20 - 0b00100000
In AnalysIR, in reverse enginering page, for ventilation mode I see the code 0x38 - 00111000
I tried to replace these values but the air conditioner does not respond.
I successfully added fan speed 4 successfully but not with ventilation mode.
Why ?
Thanks for sharing your work, Alberto
Hi,
Thank you for your great job, with your code on a raspberry along with a flask server I've been able to succesfully control my mitsubishi hvac remotely.
I would like to add the start/end time functionnality but reading your code I'm not able to understand the time format to be passed to the command. Is it like HH:mm or anything else?
Thank you
Hi, I've had a user of our library request us to add support for Mitsubishi A/C remotes. They've pointed us at your repo. As noted in #1 there is no licence set for this code. There is a copyright notice on some of the files, hence we can't touch it without a licence or explicit permission etc.
Any chance you can add a suitable (open pref) license, or give us explicit permission?
Ping @r45635 as it's their name on the copyright notice.
Salut,
Super boulot!!!
Etant débutant y a t'il un site où l'on peut trouver plus d'explication?
J'ai une clim mitsubishi, totaline et samsung si je peux aider.
Hello everyone
I am looking to automate my Mitshibishi air conditioning.
I have an ESP8266 (with presence sensor, IR "sku 436122 38k", temperature BMP180) under espeasy and a raspberry pi (jeedom + mqtt server)
how can i use python to send commands with my different tools?
thank you in advance
William
I am trying to use the HVACDemo program to output "duration" data that I can use to control my Panasonic HVAC unit using a Broadlink device. The duration format simple shows microseconds of time spent on and time spent off.
It might look like this
+3500 -1750 +435 -435 +435 -1300 +435 -435 +435 -435 +435 -435 +435 -435 +435
The +3500 means turn on for 3500 and -1750 means off for 1750 microseconds.
I tried adding this code
void IRsend::mark(int time) {
Serial.println("+" + (String)time);
...
void IRsend::space(int time) {
Serial.println("-" + (String)time);
...
But the durations I outputted do not seem to work. Does anyone know if I did this correctly, or if I am missing a step?
Many thanks!
When I compile an unmodified HVACDemo.ino with IRremote2.h, I get a compile error, which I could not (re)solve:
D:\Temp\W7Temp\ccRC7vA1.ltrans0.ltrans.o: In function `loop':
D:\MaxG_MyDocuments\Arduino\zTests\HVAC_IR/HVAC_IR.ino:44: undefined reference to `IRsend::sendHvacMitsubishi(HvacMode, int, HvacFanMode, HvacVanneMode, int)'
D:\MaxG_MyDocuments\Arduino\zTests\HVAC_IR/HVAC_IR.ino:48: undefined reference to `IRsend::sendHvacMitsubishi(HvacMode, int, HvacFanMode, HvacVanneMode, int)'
D:\MaxG_MyDocuments\Arduino\zTests\HVAC_IR/HVAC_IR.ino:54: undefined reference to `IRsend::sendHvacMitsubishi(HvacMode, int, HvacFanMode, HvacVanneMode, int)'
D:\MaxG_MyDocuments\Arduino\zTests\HVAC_IR/HVAC_IR.ino:58: undefined reference to `IRsend::sendHvacMitsubishi(HvacMode, int, HvacFanMode, HvacVanneMode, int)'
D:\MaxG_MyDocuments\Arduino\zTests\HVAC_IR/HVAC_IR.ino:62: undefined reference to `IRsend::sendHvacMitsubishi(HvacMode, int, HvacFanMode, HvacVanneMode, int)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling.
As it stands I cannot add this master file into Arduino and thus I cannot use the Mitsubishi Send sketches that I seek.
I first tried to add this file into my Arduino by Arduino > Sketch > Include Library > Add .Zip File but it says "Specified folder/zip file does not contain a valid library"
I then tried to add it manually by upzipping the file, taking out all folders and putting it in the library folder. However, when I then try to include the library by Arduino > Sketch > Include Library only the HVACDemo folder comes up.
Where am I going wrong?
Hi,
Currently byte for Panasonic COLD mode is set to 0b00011000 which is wrong.
Correct value is 0b00110000.
File IRremote2.cpp, line 264.
I think I'm missing some context. I have a Mitsubishi heat pump that I want to control, but what hardware do I need?
Please bear with me. I'm new to Arduino... This project is for Arduino, correct?
The README.md says:
A python port has been made to be compatible with Raspberry Pi
Can I then use a Raspberry Pi without an Arduino? But then what hardware do I need to actually send the IR signals? I already have a USB Infrared Toy v2 lying around. And does it have to be a Raspberry Pi or can I use it with any PC?
Or do I need an Arduino also?
There is a "HVAC_Broadlink" folder supporting a Broadlink IR RM2. SendHVACCmdToRM2.py says:
I'ts a template/code example, no ther pretention
So I guess that is not what I should be using. There is also a "HVAC_ESP8266" folder which says:
I have used ESP 8266 ESP-12 Module
And then I connect an IR LED via a transistor to the ESP 8266 ESP-12 Module "somehow"?
So which of these does one need?
... a little overwhelmed ...
This code is awesome, and I'd really like to hack on it.
Would you mind putting an open licence on it like MIT or Apache 2?
My compliments for the project!
I want to tell only this for the author and the community:
I tested for air pump conditioner model Mitsubishi MSZ-AP35VG, remote control type SG17B 24A7: works very well! (through Arduino Uno)
thanks!
This code works with MSZ-FE12NA.
Not working with MSY-D36NA which is weird because I have MSZ-GE and MSZ-FE and MSY-D remotes and they all work on each other.
I wonder why a MSZ-GE remote works with my MSY-D36NA but this code doesn't?
actesting.ino:29:3: error: variable or field 'sendHvacMitsubishi' declared void
actesting.ino:29:3: error: 'HvacMode' was not declared in this scope
actesting.ino:30:3: error: expected primary-expression before 'int'
actesting.ino:31:3: error: 'HvacFanMode' was not declared in this scope
actesting.ino:32:3: error: 'HvacVanneMode' was not declared in this scope
actesting.ino:33:3: error: expected primary-expression before 'int'
variable or field 'sendHvacMitsubishi' declared void
Hello,
I tried your project, but no reaction from the HVAC (Mitsubishi MFZ)
I wasn't able to found which pin is used for the transmition. Can You help me please?
Thank you.
Hi. Am banging my head on a wall here, have attempted to use the python port but no ir activity seen from ir led used. I have pigpio installed, have used the pip install command from the readme and then am lost, I admit not to know how to use this within python. I have run the mits demo code, it throws up no errors as such, just no ir light emitted. IR led is known to be fine, lirc commands all fine. If anyone can offer some extra guidance how to use, would be fantastic. Thanks
Hi guys, I thought I should share this. So you can take note of the issues when you are downloading the code for your projects. When you try to run the project, you will receive a number of errors:
There is a single line in one of the Block comments in IRremote2.cpp that is missing the '/' at the beginning of the line. Remember to add that in.
For the void sendHvacToshiba() method, it should be void IRsend::sendHvacToshiba(...).
Make sure to also add the method to the .h file as well. Otherwise, you will keep seeing an error saying that make() and space() methods are not declared.
To the creators of the library, please fix that.
Hi, does anybody have ESP8266 Code for Toshiba RAS?
Dear Sir,
I think you have done a fantastic job! but I really can't understand how to use this program pyton "setup.py"
I have a MITSUBISHI Kyrigame MSZ-FD25VA.
Which command line on RASPBERRY PI 3 with Raspbian Scretch Lite, I have to use to send just one, the START command through the IR LED connected to the GPIO nr (give me the GPIO PIN????
And for the Arduino UNO have I to use simply this???
#include "IRremote2.h" IRsend irsend; void setup(){} void loop() { delay(1000); irsend.sendHvacMitsubishi(HVAC_HOT, 22, FAN_SPEED_AUTO, VANNE_AUTO_MOVE, false); delay(1000);} **
Thanks in advance!
I receive this error when try demo in python:
Then in the module ir_sender.py gives me error on line 313
for i in xrange (0, len (data)):
name 'xrange' is not defined
I modified it with
for i in range (0, len (data)):
but now work with this error in blu color:
no more mistakes but it does not work
I used lirc with this led and it works.
The led is connected to gpio17 so I do:
HVAC = Mitsubishi (17, Loglevel.ErrorsOnly)
but the ir led does not give a sign of life.
Also because the led points to a receiver managed by analysIR and does not detect anything.
Another thing, when I set or lirc I added
dtoverlay = lirc-rpi, gpio_in_pin = 18, = 17 gpio_out_pin
dtparam = = gpio_in_pull up
Now I have commented on them.
Does this affect the operation?
Thanks, Alberto
Excelent documentation, and Arduino IDE examples.
I only noticed some problems with the operation of the plasma and after the reverse engineering of the IR code some others issues. My corrections in document are in red colour:
Mitsubishi_IR_Code3 update.xlsx
In order for the package to run in python 3, we should replace implicit local imports with explicit calls.
Hi,
should I expect the above model to be already supported ?
Simone
Bonjour,
Je voulais tester le HVACdemo sur ma mitsubishi, malheureusement impossible de compiler.
Quelqu'un peut-il m'aider? J'ai arduino IDE à jour 1.6.7.
J'ai ces erreurs:
`Arduino : 1.6.7 (Windows 10), Carte : "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"
Les options de compilation ont été modifiées, tout sera recompilé
libraries\IRLib\IRremote2.cpp.o:(.bss.irparams+0x0): multiple definition of `irparams'
libraries\IRLib\IRLib.cpp.o:(.bss.irparams+0x0): first defined here
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld.exe: Warning: size of symbol `irparams' changed from 209 in libraries\IRLib\IRLib.cpp.o to 206 in libraries\IRLib\IRremote2.cpp.o
libraries\IRLib\IRremote2.cpp.o: In function `IRsend::space(int)':
D:\Mes documents\Arduino\libraries\IRLib/IRremote2.cpp:231: multiple definition of `IRrecv::enableIRIn()'
libraries\IRLib\IRLib.cpp.o:D:\Mes documents\Arduino\libraries\IRLib/IRLib.cpp:346: first defined here
libraries\IRLib\IRremote2.cpp.o: In function `IRsend::space(int)':
D:\Mes documents\Arduino\libraries\IRLib/IRremote2.cpp:231: multiple definition of `__vector_7'
libraries\IRLib\IRLib.cpp.o:D:\Mes documents\Arduino\libraries\IRLib/IRLib.cpp:346: first defined here
libraries\IRLib\IRremote2.cpp.o: In function `IRsend::space(int)':
D:\Mes documents\Arduino\libraries\IRLib/IRremote2.cpp:231: multiple definition of `IRrecv::resume()'
libraries\IRLib\IRLib.cpp.o:D:\Mes documents\Arduino\libraries\IRLib/IRLib.cpp:346: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Erreur lors de la compilation.
Ce rapport contiendrait plus d'informations si l'option
"Montrer les informations de sortie pendant la compilation"
était activée dans Fichier > Préférences.
`
This unit (Mitsubishi MS-SD24VC) has a mode called Fan Only, which is not Auto, Heat, Dry, or Cool.
I would like to emulate this mode. Do you know what the byte would be for this mode?
Really, what I want to do is turn on Fan-only mode and control the fan speed of a different Mitsubishi unit. I would like to have faster fan speed than the bare minimum when the temperature is satisfied in Heat mode, but no setting will make that happen. I'm really hopeful that the fan-only mode will allow fan speed selection, and it will work with my Mr. Slim heat pump.
Ideas?
Mike
Hi,
is it possible to add support for the RLA502A700L remote control?
Bonjour,
lorsque je tente de compiler HVACDemo, j'obtiens ces messages d'erreur :
Arduino : 1.6.9 (Mac OS X), Carte : "Arduino/Genuino Uno"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/alan/Library/Arduino15/packages" -hardware "/Users/alan/Documents/Arduino/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/alan/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/alan/Documents/Arduino/libraries" -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0001 -ide-version=10609 -build-path "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/alan/Downloads/HVAC-IR-Control-master 2/HVACDemo/HVACDemo.ino"
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Arduino.app/Contents/Java/hardware" -hardware "/Users/alan/Library/Arduino15/packages" -hardware "/Users/alan/Documents/Arduino/hardware" -tools "/Applications/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/alan/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino.app/Contents/Java/libraries" -libraries "/Users/alan/Documents/Arduino/libraries" -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0001 -ide-version=10609 -build-path "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/alan/Downloads/HVAC-IR-Control-master 2/HVACDemo/HVACDemo.ino"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/HVACDemo.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/HVACDemo.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/IRremote2.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/HVACDemo.ino.cpp" -o "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/HVACDemo.ino.cpp" -o "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/HVACDemo.ino.cpp.o"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/IRremote2.cpp" -o "/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/IRremote2.cpp.o"
/var/folders/_j/t0k99rh950v_3z1v81f7xgkr0000gn/T/builde90930888cf01dc16bd2a856c7a34f6f.tmp/sketch/IRremote2.cpp: In function 'void sendHvacToshiba(HvacMode, int, HvacFanMode, int)':
IRremote2.cpp:739: error: 'enableIROut' was not declared in this scope
enableIROut(38); // 38khz
^
IRremote2.cpp:740: error: 'space' was not declared in this scope
space(0);
^
IRremote2.cpp:743: error: 'mark' was not declared in this scope
mark(HVAC_TOSHIBA_HDR_MARK);
^
exit status 1
'enableIROut' was not declared in this scope
Des idées ?
Merci
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.