Comments (13)
Hi @sredfern, yes my plan is to write that down. But unfortunately my time is pretty limited and so currently I focus on fixing and adding features. The best documentation for now is the nasa.cpp as you find yourself.
The messages numbers come from Samsungs SNET application. Its free to download and is build to monitor, update and error discovery for samsung devices. Its written in Microsofts .NET. .NET per default did not compiles in binary, instead it compiles to IL (which is more generic the binary). IL can be compiled back to .NET languages like C#. You can do that yourself with software like ILSpy.
The NASA protocol itself is pretty generic (other than the non NASA protocol). Its more or less a generic data transfer protocol. So in large parts SNET itself is designed pretty generic for a wide range of heating and cooling devices.
They designed the software that it uses something like a mapping file for each device type to be able to map the messages to the UI. This are the XML files. When you install SNET you can find one in "C:\Program Files (x86)\S-NET pro2\Projects\RuleScript\NASA.ptc".
Unfortunately not all messages are mapped in that files. And also some messages you can only find in the non generic parts of the SNET codebase and some messages are not defined anywhere.
from esphome_samsung_ac.
I hope it is ok, when I post this here but I have created the requested notes at the newly started Samsung EHS Wiki at wiki.myehs.eu. There is not a lot of info on the site (yet) other than the said protocol description but I would be happy about any contributions that help us better understand these class of Samsung products.
I have created attached Excel sheet, based on the NASA.ptc file. Tried to fill some of the gaps with information I got from my SAMSUNG EHS Split heat pump. Feel free to add these details to the Wiki!
NASA.xlsx
from esphome_samsung_ac.
No problem, not a Wiki expert, but I will probably manage to add the info myself ;-)
Thank you! :-)
I am also working on a solution to get the NASA messages via MQTT to HomeAssistant, fork from @lanwin ESPhome solution. Just ran into a small issue with the end byte accidentally also appearing in the data part, thus prematurely terminating the raw data processing. I will log a separate issue for that. Do you have a link to your EHSMonitor, may be you have tackled this issue already?
Yes, the NASA decoding is working flawlessly in EHSMonitor. You can find it here. Please don't get discouraged by the fact it is written in Swift, as it is perfectly able to run under Linux.
And thanks for the link to the WiFi Kit, looks promising. I'll see if it helps to fill even more gaps in the list of codes.
I'm glad I could help :-)
from esphome_samsung_ac.
And: the WifiKit source is quite extensive, can you pinpoint the file(s) where I can find the additional variable information? <
All NASA variables are defined in NasaConst.java
Found it, thanks!
from esphome_samsung_ac.
I hope it is ok, when I post this here but I have created the requested notes at the newly started Samsung EHS Wiki at wiki.myehs.eu. There is not a lot of info on the site (yet) other than the said protocol description but I would be happy about any contributions that help us better understand these class of Samsung products.
from esphome_samsung_ac.
Thank you @Foxhill67
That file is very helpful. There are also more variable informations available via the source code of the Samsung WiFi Kit available here.
As I am very busy currently, having released EHSMonitor, a NASA->MQTT Monitor for the EHS Mono HT Quiet (and possibly other heat pump models as well) and as I'm working hard on a EHS control application, it would be super nice of you to add this info to the Wiki yourself.
from esphome_samsung_ac.
No problem, not a Wiki expert, but I will probably manage to add the info myself ;-)
I am also working on a solution to get the NASA messages via MQTT to HomeAssistant, fork from @lanwin ESPhome solution. Just ran into a small issue with the end byte accidentally also appearing in the data part, thus prematurely terminating the raw data processing. I will log a separate issue for that. Do you have a link to your EHSMonitor, may be you have tackled this issue already?
And thanks for the link to the WiFi Kit, looks promising. I'll see if it helps to fill even more gaps in the list of codes.
from esphome_samsung_ac.
Added table with NASA message numbers to the Wiki https://wiki.myehs.eu/. Table is bit wide but does contain all relevant information.
from esphome_samsung_ac.
Thank you @Foxhill67
By the way: This is probably not the best way to communicate. You can contact me via the "eMail this User" button at https://wiki.myehs.eu/wiki/User:Betaphi
It would be great if you could also add the additional variable informations from the WiFi Kit source code...
from esphome_samsung_ac.
Hey guy, thank you for your great work! Can you please keep me updated here when you found something useful?
There are still a lot open questions. Like we found that WifiKit is adding an offset to the room temperature (like -2°) but it did not seems to be the same value for everyone.
@betaphi and thanks for finding the WifiKit source. I did not know that its available somewhere. But it seems that its not as easy to read (from a first look).
I will add a link to your protocol description to the readme soon.
from esphome_samsung_ac.
Thank you @Foxhill67 By the way: This is probably not the best way to communicate. You can contact me via the "eMail this User" button at https://wiki.myehs.eu/wiki/User:Betaphi It would be great if you could also add the additional variable informations from the WiFi Kit source code...
@betaphi : I agree to move our communication about the Wiki to the Wiki page itself, but I cannot find the 'eMail this user' button on the link you provided. Can you recheck? And: the WifiKit source is quite extensive, can you pinpoint the file(s) where I can find the additional variable information?
from esphome_samsung_ac.
@Foxhill67 You probably have to be logged in in order to see the respective button. However the eMail is just [email protected]
from esphome_samsung_ac.
And: the WifiKit source is quite extensive, can you pinpoint the file(s) where I can find the additional variable information? <
All NASA variables are defined in NasaConst.java
from esphome_samsung_ac.
Related Issues (20)
- [Common] Wrong description HOT 17
- How to get the data heat pump (AE160JNYDGH) HOT 27
- [Non-NASA] Most UART messages aren't decoded HOT 5
- Errors during compiling HOT 2
- Failed to compile since last change HOT 1
- Mode Select generates unique IDs error HOT 9
- [COMMON] M5STACK Example as Default HOT 7
- nasa.h const values and naming issue HOT 4
- [NASA] Temperature differs from the reported indoor temperature HOT 24
- [NASA] Help understand packet sending HOT 2
- RecieveEnable\DriverEnable output for MAX485 compatibility HOT 4
- [NASA] Add quiet mode HOT 2
- Error since latest commits HOT 4
- Does not compile with ESP-IDF framework HOT 11
- Raw message reading terminated prematurely when 0x34 (end byte) is part of data HOT 4
- How to connect to NASA protocol with wire F3 F4 HOT 1
- hello, I can't do anything HOT 7
- Lag when sending commands to AC
- nasa/temperature sensor HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome_samsung_ac.