Search found 19 matches
- Friday 29 December 2017 21:42
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
OK, For watchers here - did a TeamViewer session with mcgiak and the issue appears to be that cURL was not installed on the Windows box so failed to get anything back from the KMTronics module from the "curl" in the LUA script and fails with the: "LUA: Bad XML status read - temperatures NOT updated ...
- Friday 29 December 2017 18:23
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
Hello, check all the error logs (not just the status) and make sure you have defined/created the virtual switches with what is in the code in the quotes - i.e. below. Dummy_Switch_Name_1 = "ACS" Dummy_Switch_Name_2 = "Interna" Dummy_Switch_Name_3 = "Puffer" Dummy_Switch_Name_4 = "Esterna" It should ...
- Monday 25 December 2017 21:52
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
Hello, Now that I had 5 mins to sit down and have a look the issue is that the virtual switch names were not changed and it was throwing an error but was for some reason not showing in the log file - maybe a bit different the way it does things when running Domoticz on Windows? They need to be what ...
- Sunday 24 December 2017 22:40
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
This is what the script outputs for me from the gui. It is fine - if you don't get this but can browse to it from the same machine domoticz is on then don't know. If the two are on different networks you need to route between them. I don't use windows so can't help with that platform but the script ...
- Sunday 24 December 2017 22:05
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
This is log: 2017-12-24 21:22:00.063 LUA: Reading values from: 'http://192.168.1.199/status.xml' 2017-12-24 21:22:00.074 LUA: 2017-12-24 21:22:00.074 LUA: Bad XML status read - temperatures NOT updated 2017-12-24 21:23:00.487 LUA: Reading values from: 'http://192.168.1.199/status.xml' 2017-12-24 21 ...
- Sunday 24 December 2017 21:43
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
This bit is reading nothing back or the string is not being populated so there is nothing to progress in the script - hence the error you ate getting. I did have an issue ages ago with a beta version that broke them as the data was empty/corrupted. If you have updated recently this might be the ...
- Sunday 24 December 2017 21:28
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
It prints out in the general log - it's an option under right hand menu (settings) at the bottom.
Sent from my SM-G935F using Tapatalk
Sent from my SM-G935F using Tapatalk
- Sunday 24 December 2017 21:22
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
See post 27? It is supported in domoticz directly now I think but I have not tried it.
What does the debug output in the log?
Sent from my SM-G935F using Tapatalk
What does the debug output in the log?
Sent from my SM-G935F using Tapatalk
- Sunday 24 December 2017 21:04
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
Turn on debug in the script and see what is printed in the Domoticz log. Looks like it is not reading anything back to throw that error. Have you changed the ip@ of the relay box and not updated the script? Can you web browse to the ip of the kmtronic and see any output I.e. http://kmtronic-ip ...
- Wednesday 13 April 2016 18:33
- Forum: LUA
- Topic: Reading XML with LUA?
- Replies: 24
- Views: 16404
Re: Reading XML with LUA?
Thanks to georgesattali and others on the forum I have written a little LUA script to read from the device and pop it into virtual sensors - result! The KMTronic LAN DS1820 box is pretty good IMO and can be got on ebay at a good price. See here http://www.domoticz.com/forum/viewtopic.php?f=17&t=6456 ...
- Wednesday 13 April 2016 18:29
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
Hello, Any plans to support the KMTronic LAN DS18B20 WEB Temperature Monitor too? Thanks I have written a little LUA script to read the temperature values and put them into virtual temperature sensors now if it is of some use to someone. It is my first attempt at LUA so let me know if you think it ...
- Wednesday 13 April 2016 12:14
- Forum: LUA
- Topic: Problem updating a device.
- Replies: 3
- Views: 681
Re: Problem updating a device.
Westcott wrote:Do you mean -
commandArray['UpdateDevice'] = "108|0|"..temperature
crossed post - thanks! too much staring!
- Wednesday 13 April 2016 12:13
- Forum: LUA
- Topic: Problem updating a device.
- Replies: 3
- Views: 681
Re: Problem updating a device.
Fixed it - dodgy eyes!!
had
commandArray['UpdateDevice'] = "108|0|..temperature
needed
commandArray['UpdateDevice'] = "108|0|"..temperature
Doh!
had
commandArray['UpdateDevice'] = "108|0|..temperature
needed
commandArray['UpdateDevice'] = "108|0|"..temperature
Doh!
- Wednesday 13 April 2016 11:36
- Forum: LUA
- Topic: Problem updating a device.
- Replies: 3
- Views: 681
Problem updating a device.
Hello, This is doing my nut in. I am reading from a string a value and I want to update that into my temperature dummy sensor. I have a string "temperature" which reads in a value from a position in the string at j to i-1 local temperature=string.sub(XML_string,j,i-1) I then update my variable at ...
- Tuesday 12 April 2016 14:10
- Forum: LUA
- Topic: Reading XML with LUA?
- Replies: 24
- Views: 16404
Re: Reading XML with LUA?
Hello. Thanks for the reply - I didn't see it until just now. I will have a look at the link and what you have done and see what I come up with. Will take some time I imagine. I did look at LuaXML too. By the time I get it working someone smarter will have included the module in the Domoticz ...
- Friday 08 April 2016 13:14
- Forum: LUA
- Topic: Reading XML with LUA?
- Replies: 24
- Views: 16404
Reading XML with LUA?
Hello, I have a KMTronics web temp sensor and I want to read the values from to update some virtual sensors it but can figure it out. Basically I browse to http://x.x.x.x/status.xml and it displays this: <response> <sensor> <id>28006D2307000061</id> <name>HW_Flow</name> <temp>20.50</temp> </sensor ...
- Tuesday 05 April 2016 14:55
- Forum: Others
- Topic: new: KMTronic USB/485/TCP(Web) support
- Replies: 54
- Views: 21314
Re: new: KMTronic USB/485/TCP(Web) support
Hello,
Any plans to support the KMTronic LAN DS18B20 WEB Temperature Monitor too?
Thanks
Any plans to support the KMTronic LAN DS18B20 WEB Temperature Monitor too?
Thanks
- Tuesday 08 December 2015 22:21
- Forum: Others
- Topic: SolarEdge in Latest Beta / Port Number
- Replies: 161
- Views: 59805
Re: SolarEdge in Latest Beta / Port Number
This appears to be happening constantly now and I get the following too: 2015-12-08 21:13:13.109 Error: SolarEdge: Unknown Type: 1283 2015-12-08 21:13:13.109 Error: SolarEdge: Something not handled correctly, having extra bytes! 2015-12-08 21:13:13.255 Error: SolarEdge: Unknown Type: 0061 2015-12-08 ...
- Tuesday 08 December 2015 16:03
- Forum: Others
- Topic: SolarEdge in Latest Beta / Port Number
- Replies: 161
- Views: 59805
Re: SolarEdge in Latest Beta / Port Number
i get in de log from domoticz: Error: SolarEdge: Unknown Type: 0061 SolarEdge Something not handled correctly, having extra bytes! Anyone got a clue what error 0061 might be Am running Domoticz Stable; 3530 I have the same issue I think that the code doesn't handle odd/uncoded updates from the SE ...