Page 59 of 123

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Thursday 06 April 2017 20:16
by deennoo
doelle4 wrote:But i cant compile the Files self ..
https://www.domoticz.com/forum/viewtopi ... 20#p127138
Why do you want à dev version who can create you problème that surely you can't fix.

Once again all is written here, there ni sudo curl blablabla to get pré beta version (who need lot of works Corbin and i are spending 4 days on it to correct)

If your not able to Read previous post, just wait...

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Thursday 06 April 2017 20:44
by Neutrino
Oh please people, just read the previous posts....
Just the 3 or 4 last pages and you'll find all the answers...
Corbin's version is like an alpha version, you need to compile it by yourself. Everything can be change !
Official beta version doesn't have the last support (like ringtone or light sensor)
Official stable version doesn't support the Gateway.

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Thursday 06 April 2017 20:48
by doelle4
I need Domotics ONLY for Power And Temperature Logging , nothing else. I have only Xiaomi Parts.
This is the only reason I will use domotics. English is no my Language und Linux not my System.

My English ist not so good for this Instructions: https://www.domoticz.com/wiki/Installin ... spberry_PI
I do not know what needs to be done and what is not needed. I use Google Translator.
I have a good Drohne Forum where every day users is helped.
What is so hard that someone puts the file online her or mails it?

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Thursday 06 April 2017 20:50
by Swifty
corbin wrote: @Swifty

Code: Select all

{"cmd":"write","model":"gateway","sid":"286c078892ae","short_id":0,"data":"{\"mid\":10000,\"key\":\"F047771F01A4644EB9C13B3AAD1D88AF\"}" }
that is the command to stop playing audio - triggered from the 'off' option, do you get that no matter what sound you select?
No sorry. It was late - must've snipped the wrong bit of the log.
The "mid:10000" is different when I select an alarm/ringtone.

However, its now working.. Returned home today and the mihome app said fw update available to 1.4.1_145.0141.
I applied it, made no changes in domoticz, tested the audio and it works fine.

Thanks for your effort on this :)

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 0:09
by deennoo
doelle4 wrote:I need Domotics ONLY for Power And Temperature Logging , nothing else. I have only Xiaomi Parts.
This is the only reason I will use domotics. English is no my Language und Linux not my System.

My English ist not so good for this Instructions: https://www.domoticz.com/wiki/Installin ... spberry_PI
I do not know what needs to be done and what is not needed. I use Google Translator.
I have a good Drohne Forum where every day users is helped.
What is so hard that someone puts the file online her or mails it?
Because that not just a file, Be patient and wait or move away.

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 14:12
by joebar
doelle4 wrote:I need Domotics ONLY for Power And Temperature Logging , nothing else. I have only Xiaomi Parts.
This is the only reason I will use domotics. English is no my Language und Linux not my System.

My English ist not so good for this Instructions: https://www.domoticz.com/wiki/Installin ... spberry_PI
I do not know what needs to be done and what is not needed. I use Google Translator.
I have a good Drohne Forum where every day users is helped.
What is so hard that someone puts the file online her or mails it?
I can only advise to either be patient or dive in the world of compilers :). What you are asking is actually not that easy, most are using some kind of Linux variant where compiling is straight forward.
You are using windows and you should read the guides on compiling in a windows environment.

Building a exe is very depending your system, so asking for a precompiled executable is not that easy.
The official site is using a build machine that build multiple types so that mostly works.

That said, I guess you have two options; spend time to learn to setup a build environment on your machine or wait for the official beta to catch up with the alpha includes.

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 15:02
by deennoo
Teaser Mode : ON

For those who ask about new feature have a look at this :
Capture.PNG
Capture.PNG (82.45 KiB) Viewed 2806 times
Alarme Ringtone : All the Alarm ringtone stored on the gateway (list is on MiHome app)
Alarme Clock : All the Alarm clock stored on the gateway (list is on MiHome app)
Doorbell : All Doorbel sound stored on the gateway (list is on MiHome app)
Of course all of them can be trigger on :
- Event : lua + blocky
- Scene
- Group

Gateway allow ability to store sound on it and to play it, for this Corbin have created a simple ON/OFF switch who play a sound with a value stored on domoticz user variable.

I made a simple Lua Script base on a 0-100% dimmer who update this variable and play sound when trigger, this allow us to play 100 personnalise sound (from song to pre recorded tts)

Next step ? Create a dimmer for gateway volume

And the page about voltage and batterie :
batterie.PNG
batterie.PNG (30.58 KiB) Viewed 2806 times
Each device batterie voltage is now on devce page as domoticz store it for other device who send batterie value, of course this value are used for notification to know if battery is low.

Now lets test it, and enjoy a sunny Weekend !

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 18:08
by Swifty
Nice deennoo :)

Can you post lua contents so we can see how to trigger personal sounds from the gw?
Have you encountered what the limit is for personal sounds quantity on the gateway?

This thing is slowly becoming the answer to all my home automation needs :D

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 18:50
by deennoo
Swifty wrote:Nice deennoo :)

Can you post lua contents so we can see how to trigger personal sounds from the gw?
Have you encountered what the limit is for personal sounds quantity on the gateway?

This thing is slowly becoming the answer to all my home automation needs :D
Lua script is easy he just update à user variable...All works is done via play mp3 switch and aquara api which is easy to find on github

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 19:32
by mvveelen
deennoo wrote:
Swifty wrote:Nice deennoo :)

Can you post lua contents so we can see how to trigger personal sounds from the gw?
Have you encountered what the limit is for personal sounds quantity on the gateway?

This thing is slowly becoming the answer to all my home automation needs :D
Lua script is easy he just update à user variable...All works is done via play mp3 switch and aquara api which is easy to find on github
Why not share? You might say it's easy, but why let everyone struggle with it when there is an opportunity to share and improve?

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 19:35
by bing69
mvveelen wrote:
deennoo wrote:
Swifty wrote:Nice deennoo :)

Can you post lua contents so we can see how to trigger personal sounds from the gw?
Have you encountered what the limit is for personal sounds quantity on the gateway?

This thing is slowly becoming the answer to all my home automation needs :D
Lua script is easy he just update à user variable...All works is done via play mp3 switch and aquara api which is easy to find on github
Why not share? You might say it's easy, but why let everyone struggle with it when there is an opportunity to share and improve?
+1

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 19:59
by deennoo
1st because you have to learn by your self how to made an lua script and update à user variable
They are lot of exemple on domoticz wiki to learn how to.

2nd did you have the good domoticz beta who allow to play with sound ?

3rd i will share it on Aqara wiki when dev will be on official beta and last bug will be solve.

4th i'm on weekend guys with à good beer and à bbq, and this is more important than domoticz

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 20:12
by bing69
deennoo wrote:
4th i'm on weekend guys with à good beer and à bbq, and this is more important than domoticz
+1 :D

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 20:25
by mvveelen
deennoo wrote:1st because you have to learn by your self how to made an lua script and update à user variable
They are lot of exemple on domoticz wiki to learn how to.

2nd did you have the good domoticz beta who allow to play with sound ?

3rd i will share it on Aqara wiki when dev will be on official beta and last bug will be solve.

4th i'm on weekend guys with à good beer and à bbq, and this is more important than domoticz
1. I already know how to make / edit lua scripts. So, when I follow your logic, the whole Wiki should be deleted?
2. No, and that is also not what I said. I simply asked why you don't share with the rest of the users so maybe improvements can be made.
3. Ah, that's contradicting what you said in your 1st remark. But people will love it when you share. Thanks in advance.
4. Nobody asked you to do it now. And I can understand that the beer and bbq is WAY more important :)

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Friday 07 April 2017 21:21
by joebar
deennoo wrote:
Swifty wrote:Nice deennoo :)

Can you post lua contents so we can see how to trigger personal sounds from the gw?
Have you encountered what the limit is for personal sounds quantity on the gateway?

This thing is slowly becoming the answer to all my home automation needs :D
Lua script is easy he just update à user variable...All works is done via play mp3 switch and aquara api which is easy to find on github
Nice, what is the format of the XiaomiMP3 variable, the default 10001 I mean. Does it contain both the volume and sound number?
I saw something in the source that the value is shifted by 10000, is the remaining value the sound number? (1 in this case) or am I in the wrong direction.

BBQ on Sunday for me :)

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Saturday 08 April 2017 8:07
by deennoo
joebar wrote: Nice, what is the format of the XiaomiMP3 variable, the default 10001 I mean. Does it contain both the volume and sound number?
I saw something in the source that the value is shifted by 10000, is the remaining value the sound number? (1 in this case) or am I in the wrong direction.
)
this will be explain on the wiki too that easy to understand.

New feature ? yeah !
Capture.PNG
Capture.PNG (77.24 KiB) Viewed 2672 times
still one littel littel littel bug and that good !

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Saturday 08 April 2017 12:26
by Coldman
deennoo wrote:
joebar wrote: Nice, what is the format of the XiaomiMP3 variable, the default 10001 I mean. Does it contain both the volume and sound number?
I saw something in the source that the value is shifted by 10000, is the remaining value the sound number? (1 in this case) or am I in the wrong direction.
)
this will be explain on the wiki too that easy to understand.

New feature ? yeah !

Capture.PNG

still one littel littel littel bug and that good !
Great job! Could you please give the link of your Wiki?

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Saturday 08 April 2017 18:27
by deennoo
Coldman wrote:
deennoo wrote:
joebar wrote: Nice, what is the format of the XiaomiMP3 variable, the default 10001 I mean. Does it contain both the volume and sound number?
I saw something in the source that the value is shifted by 10000, is the remaining value the sound number? (1 in this case) or am I in the wrong direction.
)
this will be explain on the wiki too that easy to understand.

New feature ? yeah !

Capture.PNG

still one littel littel littel bug and that good !
Great job! Could you please give the link of your Wiki?
Not so hard to found, that the domoticz wiki with search fonction !

https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)

Sound feature aren't présent as they are NOT on the main beta channel.

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Sunday 09 April 2017 13:59
by pikapt
jeezz what happened on the last couple of weeks in the forum? everyone is so nervous...

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Sunday 09 April 2017 22:55
by deennoo
Does any user have some ctrl_neutral2 device ? (Main powered dual touch button from Xiaomi ?)

We need to know if device (switch2 - the one on the right side call channel_1) is update on domoticz when switch to off from mihome app or form Real switch.

If yes or no please provid domoticz version

Envoyé de mon H60-L12 en utilisant Tapatalk