Search found 12 matches

by irongarment
Friday 05 October 2018 7:28
Forum: Others
Topic: How to send HTTP POST to remote device?
Replies: 10
Views: 10739

Re: How to send HTTP POST to remote device?

Is it the same model of Jura? I have a Jura Impressa E75.

If you look at the source code you can see what causes a "Bad request" error. It happens around line 96 when the command is less than three characters. Perhaps you are sending a very short command (or no command)?
by irongarment
Sunday 21 January 2018 19:42
Forum: Other questions and discussions
Topic: Espeasy with Esp8266 & Domoticz Switch with current feedback
Replies: 11
Views: 6389

Re: Espeasy with Esp8266 & Domoticz Switch with current feedback

Thanks. I understand, but that's no good. I think there should be some way to decouple the indicator from the switch, so that the state of the object can be changed independently from clicking on the button.

I'll keep looking for a solution.
by irongarment
Saturday 20 January 2018 9:57
Forum: Others
Topic: How to send HTTP POST to remote device?
Replies: 10
Views: 10739

Re: How to send HTTP POST to remote device?

Just to remind my future self, for the Jura Impressa E75 the rinse command is "FA:02". I have amended my script and wired up the Wemos D1 Mini Pro to the coffee machine. Tomorrow morning I'll know if it worked.

Edit: It worked!
by irongarment
Friday 19 January 2018 9:37
Forum: Other questions and discussions
Topic: Espeasy with Esp8266 & Domoticz Switch with current feedback
Replies: 11
Views: 6389

Re: Espeasy with Esp8266 & Domoticz Switch with current feedback

How do you update the icon status without causing Domoticz to send a command? For example, doing this in ESPeasy SendToHTTP 192.168.1.253,8080,/json.htm?type=command&param=switchlight&idx=19&switchcmd=On ...will cause the "on" action to happen. I want to be able to change the icon state without ...
by irongarment
Friday 19 January 2018 8:50
Forum: Suggestions
Topic: Events JSON - disable/enable
Replies: 10
Views: 4403

Re: Events JSON - disable/enable

I think this is what I am looking for too. I want a way to set the indicator status on a Domoticz icon without causing an event to happen. For example, I am making an irrigation system with six valves and ESPeasy. I have six switches in Domoticz with water-droplet icons. If I click on a droplet that ...
by irongarment
Thursday 11 January 2018 9:34
Forum: Switches and Scenes
Topic: What is 'on delay' and 'off delay'?
Replies: 9
Views: 5880

Re: What is 'on delay' and 'off delay'?

Ah, got it. Thanks.

This should be documented, however, the manual is not editable, and the wiki doesn't have an entry for switches. What to do?
by irongarment
Thursday 11 January 2018 8:15
Forum: Switches and Scenes
Topic: What is 'on delay' and 'off delay'?
Replies: 9
Views: 5880

Re: What is 'on delay' and 'off delay'?

Thanks.

What is the purpose? Is it so that the button can be flicked back on (or off) quickly without causing the device to change state? Or another reason?

Thank you.
by irongarment
Thursday 11 January 2018 7:47
Forum: Switches and Scenes
Topic: What is 'on delay' and 'off delay'?
Replies: 9
Views: 5880

What is 'on delay' and 'off delay'?

These are two values you can set when configuring a switch, however, they are not documented in the manual or on the wiki.

Thank you.
by irongarment
Wednesday 03 January 2018 5:53
Forum: Others
Topic: How to send HTTP POST to remote device?
Replies: 10
Views: 10739

Re: How to send HTTP POST to remote device?

Yes, but I'd need something that sends a command, waits 60 seconds, then sends another command. As far as I know Domoticz is blocking, so control would not return to Domoticz until the second command has completed.

Anyway, it's all good for now until I find something better.

Thanks.
by irongarment
Wednesday 03 January 2018 4:52
Forum: Others
Topic: How to send HTTP POST to remote device?
Replies: 10
Views: 10739

Re: How to send HTTP POST to remote device?

Ok, thanks to your hints I have something that should work. The tricky thing is that to turn on the machine I want to send it a command to turn on, then a minute later send it another command to rinse itself. Then it's ready. 1) Created a dummy device called 'Jura interface' 2) Created a virtual ...
by irongarment
Tuesday 02 January 2018 10:02
Forum: Others
Topic: How to send HTTP POST to remote device?
Replies: 10
Views: 10739

Re: How to send HTTP POST to remote device?

Hi there, Thanks for that. Now that I know it's not a built-in function in Domoticz and I have to do it via curl in a script then that actually makes it easier. It's a coffee machine with an ESP8266 grafted onto it: https://github.com/hn/jura-coffee-machine I'll write a quick script and do it that ...
by irongarment
Tuesday 02 January 2018 8:24
Forum: Others
Topic: How to send HTTP POST to remote device?
Replies: 10
Views: 10739

How to send HTTP POST to remote device?

Hi all, I have searched for an answer, but nothing came up (and 'post' is a very common word...). I have a device that can be switched on or off by sending an HTTP POST to a URL. I want a switch in Domoticz that I can click on and off which will send the two different POST payloads for 'on' and 'off ...