-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issues posting data from node #13
Comments
Hi @roscoegray , Where is that error happening? I'm not an emoncms user and created this for exp with creating HA addons. |
Hi, that's understandable. The "error" is on the node, as it doesn't connect to the emoncms instance, I'm guessing it's likey to do with the docker network set-up? I will try and understand it better and report back. |
try to disable ssl in the addon |
I don't actually have ssl enabled, i haven't tried it with it enabled. |
Wouldn't the path be empty in such case as it's submitting data to e.g. when playing with the example inputs they post to Are there any logs on the device that's posting? |
As I said, I have tried both with no luck. Interesting with the current set up, I can leave the path blank or have /emoncms, which I think was the default. Not completely sure of its function, can't find it in the EmonESP docs. I don't think there are any logs as debug need to be enabled during the build. I thought i would have another go but got this error (I did pull your changes from yesterday.)...
|
Dropped the emoncms table and started again, input page working now (before it was just hanging with the error above in the logs) Think the error may have been something to do with the device module being added after the DB was created. I also tried using the device level access key but still no luck. I'm wondering if the EmonESP supports having a port number? There are some logs but not every helpful... |
@roscoegray thanks for reporting back! Wonder what the issue with adding the addons, I didnt see anything on their readme about schema changes. Looking in their code it does look like they are hardcoded to port 80 for non HTTPS URLs Perhaps it'll be worth raising a ticket on their side to parse out the port from the input field and passing that through. I'll document this as a limitation. |
Go to your input Page and open the link "input API help". |
Also, go to admin and try to update databases and other items. |
Ok, I will raise a ticket on their side, glad it makes sense now. I think I could use MQTT as a workaround for now, but I will continue to test the add-on and report back any issues. Thanks again! |
Thanks @roscoegray 🙏🏼 |
Hi, firstly thanks for getting this going, I'm looking forward to consolidating HA and emoncms onto one system!
I have tried pointing one of my nodes at the new install, but for some reason, it won't connect? It could be user error so if you have a suggestion I will give it ago.
I have tried leaving the Emoncms Path blank and using /emoncms.
Anything obviously wrong with my settings, or anything else I need to do to allow access?
The node connects fine to my existing dedicated pi running emoncms. Also worth noting the emoncms_history integration does post data, it's running on the same device as HA.
The text was updated successfully, but these errors were encountered: