Project

General

Profile

Web access to DomotiGA

Added by ToBo almost 3 years ago

Hello Everyone,
Sorry to bother you again.
I like to put in every room a Pi with a small 5" Display to control the room. I will write my own small Application to see some buttons, change the temperature and may be dim the light.

The question is how do I communicate with the DomotiGA server and to change the values ?

I guess the best way is the JSON-RPC ?
Is this right ?

Perhaps somebody could show me an example how to program the value.get and value.set method in Gambas ?

Best regards.
Thorsten


Replies (7)

RE: Web access to DomotiGA - Added by Saxx almost 3 years ago

Hi

I use JSON-RPC with a combination of PHP and JavaScript. If you are comfortable using that, I can send you some source code.

RE: Web access to DomotiGA - Added by wwolkers almost 3 years ago

Hi Saxx,

I would be very interested to see what you made in PHP and JavaScript. Could I please get a copy of the source?

Thanks,

Wouter

RE: Web access to DomotiGA - Added by SVdHeyden almost 3 years ago

Hi Saxx,

I'm also interested in some examples.:)

Thanks

RE: Web access to DomotiGA - Added by Saxx almost 3 years ago

Hey

OK. I'll post it here during the weekend (if I get the time)

:)

RE: Web access to DomotiGA - Added by Saxx almost 3 years ago

Hi again

Sorry for the late reply, but here's the code.

RE: Web access to DomotiGA - Added by SVdHeyden almost 3 years ago

Saxx,

Thanks for sharing this code.
I will look into this a learn from it for sure

I want to create an android app based on sockets to control my domotica system so any help will be appreciated

Thanks

RE: Web access to DomotiGA - Added by Saxx almost 3 years ago

Good luck :)

I use my own responsive web page(s) to control DomotiGa fram anywhere, including my android phone.

    (1-7/7)