-
Notifications
You must be signed in to change notification settings - Fork 2
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
OneWire Server code #1
Comments
Hey, so I am clear, you added three more devices and addresses like:
Plus all the Did you update the sendXmlResponse() to include the additional sensors values? ie
Gord. |
Thanks Gord, I had this as you described with one exception.....the code would not compile when endXmlResponse was populated as in your example. I forget the exact error, but was a failure to convert FLOAT to String...and sending them as individual endXmlResponse statements were accepted without error. I am still plugging away at this and will eventually figure it out. Really just wanted some confidence that it was at least "Possible" in your estimation to get 4 onewires to output same as the single device does in your original code. Thanks! |
Hey Bob, Sure it should be, the code is pretty procedural, maybe start with 2 wires and build up from there? There should be no float conversion, as the print statements are independent (sort of avoiding the whole conversion thing). E.g.
Unless there is a change in the library or something? Gord. |
Hi,
I have been playing with your code, and with limited skills was able to add additional 1wire sensors...However, have NOT been able to get them to output as xml as original code...only the first 1wire is outputted. My goal was to have ability to monitor 4 sensors ideally via the simple xml or JSON to monitor a Brewing process more easily.
Am I flailing at something that just wont't work?
Thanks!
The text was updated successfully, but these errors were encountered: