-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P078 Eastron does not work #1684
Comments
It is still testing, the only thing I did was moving it from the playground to here, since a number of persons could not get it to compile. |
I with easy esp never managed to work |
What pins do you want to use (RX/TX and the 3rd pin) and what baudrate do you use on Tasmota? |
I am using gpio 1 and 3 |
Hello, SDM.h and Its necessary also define prior the compile the required softwareserial inputs as settings on easyeasp webpage don't works. The issue I've right now is posting data to EmonCMS, server cann't see any input |
Very well friend |
@E-NINA The settings from the plugin page are indeed not yet working, which is a known issue at this moment. What baudrate do you use? (for what node) |
I'm compiling with arduino-ide, using pins 12 and 13 and as I'm using a MAX485 with DE/RE lines (pin 4) see bellow: ESPeasySoftwareSerial swSerSDM(12, 13); //config SoftwareSerial (rx->pin6 / tx->pin7) Regarding my compilation issues where exactly the same that I found on some forums: http://www.letscontrolit.com/forum/viewtopic.php?f=4&t=5665&start=10 With equivalente method I could also compile on previous version of easyesp with eastron on playground status and old SDM template branch (on that, reference needs be changed only on sdm.h as file SDM.cpp don't exists) Regarding emoncms, I'm using my own instance of emonemcs I'dont know if somethins is broken but if I set on propose wrong API key I could see that easyesp is trying connect. As soon I set the right API key, no errros but also no any new input. |
already works |
Now I am going to have to hook up my hardware and test! ;-) @vmfs1968 - Was this a self compile/build or nightly test build? Expected feedback from me too soon |
@vmfs1968 Could you be a little more elaborate in your posts? |
I compiled the normal version, add the 078 testing plugin |
Hello again, One more thing I've found the issue with EMONCMS posting. Again I'm not a expert programmer and probably isn't the best solution but as I've my own istance of EMONCMS running on a virtual server and I had already some inputs running without problems from an iotawatt where isn't necessray made any change to the code it works on the fly. On easyESP I had changed the following line on _C007.ino from to -> (I removed the "/emoncms") And started to work. I don't know if this is a issue of local installations of emoncms or if is also hapenning on "emoncms.org" |
one more thing I'm using port 8080 on emoncms server |
I want to start using this plugin in the coming week, i got the SDM120C. Is anybody able to point me in the right direction to get it working? Or is it no working straight out of the box when selecting the plugin? |
At this moment the settings made in the web interface are not being used. |
What would be needed to help you in fixing this plug-in to make it work via the web-interface. Or how can i compile it to make it work myself? I tried compiling it multiple times with ArduinoIDE and Atom platformio-ide but it keeps failing! |
You have to set the settings yourself in the source code and then compile it again. |
Mm, i then have to find out how to do it properly... damn... |
This plugin simply has to wait, I don't have time enough |
I understand, i Will try to fix it myself. The only thing i need to find out is how to edit and compile it correctly myself. |
@LeeNX Well, see the issue-list :) |
@TD-er suffers from Thanks for all the awesome work, don't know how you do it! |
You can view as plain text and compare. I use it "all the time". |
Other than the SDM120 vs SDM220, the old difference is the SDM120 has a BMP280 sensor vs a DHT22 on the SDM220? @Grovkillen - Cool, will check out your link. Maybe the week is not a lose. Thanks! |
I'm using Ubuntu at the moment, so can't run HxD. I normally use MidNight Command for a Hex Viewer, thou I was hoping to diff a text file. I am not sure how to diff a binary file and understand what is different. I will try tomorrow with a fresh view. |
Also noticed that only the first four task publish data via MQTT, this is expected, right? |
Yep, a plugin can only output up-to 4 values. |
@LeeNX task 5 does not send for You? |
@uzi18 - That is correct. I had shuffled BMP280, DHT22, SysInfo and Eastron device and Task 5 does not publish. I currently have the data that is not overly important in Task 5. |
OK, now I understand what you are asking. What kind of controller are you using? |
Using the OpenHAB MQTT controller. I am sure I double the message queue from 5 to 10, now I have it at 20 and all values seem to be coming throu. @TD-er - Thanks! |
You can try to make the send interval different per plugin. (e.g. 60 and 61 seconds) to make the message bursts happen less often at the same time. |
I have conected 2 sdm120, one with id1, and other with id2, |
Are the NaN values in the devices tab, or at the receiving end of the used controller? |
12 values works fine (8 values for id1 + 4 values id2) |
what controller settings do you use? |
the NaN values in the devices tab |
both dm120 works fine working separatelly |
Have you tried to set different interval timers for the separate plugin instances? |
Maybe we could have a setting that would publish task 1 on time HH:MM:01 and second task on HH:MM:02 etc? Optional ... EDIT: maybe not 🤔😉 |
@jvm1000 show screenshot please |
let me do more test with more time in the interval. |
solved, with more time in interval, and with diferents values. |
I've tested today's branch mega-20181111 and seems everything is working with a small issue. I've connected 2 sdm's 120 and if I set SDMs with ID 1 and ID 2 data is posted to dashboard. If I set ID's not starting at 1 (I try 10 and 11 -> that was my initial setup) I only get 1st value on dash board of each SDM (voltage) jvm1000 can you make a quick test and double check this issue? |
Hmm, both issues might be related. |
I see what is wrong. This can explain almost all issues reported in the last 2 days :) |
tested, all ok. |
I tested this plugin and it does not work
does not make any kind of milk
I currently have my Eastron running with the soft tasmota that works fine
but wanted to run it with esp_Easy
Can someone help?
The text was updated successfully, but these errors were encountered: