radio thermostat android wear - Moto 360

Can someone help me make a radio thermostat android wear app?
I have the API for radio thermostat.
all I need it to do is raise the temperature by heat or cold voice saying OK google raise heat 75.
example is in Json and curl

Related

[Q] Frequency counter & servocontroller from my old SPV

Hi developers.
I want to use my old Smartphone as a PID controller for car's cruise control.
My idea is to use the phone as a frequency(RPM) counter and depending on some conditions it should control small servomotor connected to accelerator.
For this I want to use microphone input(500-7000Hz),which should the software measure and speaker output for control pulses(pulse generator) of model-servo(50Hz,pulse width 1-2ms depending on the desired position). All PID will calculate the software.
So I need a help,how to measure frequency of pulses on microphone input,play "sound" with calculated pulses and how to make this in software?
I am EmbeddedVisualC developer.
Thanks for your replies.

[Q] Any way to turn voice commands off?

Do you know if there is a way to turn off the "Ok Google" voice command on the watch? It seems like the ability to use the "Ok Google" command when your phone is asleep or locked is disabled when the watch is connected. And I'd rather utilize my phone to do all voice commands anyway.
I'd really like to know this too. There's simply no way I'm ever going to talk to my watch in public, and in private I'd use my phone, so I guess I'm not getting with the Google program on this one.
Personally I think they got the paradigm all wrong here. It's just not a realistic use-case for the majority, and doesn't warrant dominating the Wear UI so much at the expense of needed features. Launchers, canned responses and better remote touch controls are what they should focus on developing in future, IMHO.
not sure on muting "ok google", but the watch does have canned responses for texts.
for me, I still enjoying replying to texts/email from my watch. but I'm sure that novelty will wear off.
however, I will admit though, that starting a phone call from my watch while connected to my car's bluetooth is a lot easier than using the car's process.

Voice recognition on Huawei Watch is much worser than on the phone?

Hello,
To my understanding, voice recognition of the watch uses Google API through the phone, the same API used by the phone itself.
For some reason, I get much better results from voice recognition on the phone than on the watch.
It is almost impossible to get a sentence clear on a watch, while the phone handles this well.
Could it be a microphone issue?
I use Hebrew first English second languages on the phone.
The phone is Samsung S7.
I think it's because location of the mic, which I believe is underside of the watch, where the band connects. And when the watch is on hand, it could be covered partially. Try if the mic works any better without wearing the watch?
Eremitus said:
I think it's because location of the mic, which I believe is underside of the watch, where the band connects. And when the watch is on hand, it could be covered partially. Try if the mic works any better without wearing the watch?
Click to expand...
Click to collapse
I tried it,If you make your mouth from the top of the strap into some of the words, watches can be clearly identifie【From Google Translate (Chinese to English)】
I had the same problem until the Google app on the phone was updated and now voice recognition on the watch is working fine.
FIX
There is a bug in google app beta. Listen to your saved voice commands on the google activity page. You will notice that that they are recorded 5 times faster. You have to leave the google app beta, uninstall the updates and update to the latest stable version.
I've noticed the voice recognition issue as well. It worked much better on my Moto 360. It's probably the mic positioning. Not sure what we can do about it.

Automatic Antenna

I have a 1 DIN car radio with octacore PX5-CPU and Android 6, connected to the original automatic antenna of my Mazda MX5. When the radio starts the antenna drives out, so far so good. But when I turn the radio of (push the button), the antenna stays out. Only when I turn out the car and pull the car-key, the antenna drives in.
Before I bought this radio I had the same one with Android 4.4.4 and quadcore CPU and this radio works fine with the automatic antenna.
I have already searched in the settings to change the control of the automatic antenna. But without success.
Any idea what it could be?
Thanks for help
It's a long shot, but You could try and see if You can "kill" the Radio application (stop it from running) and see if that makes the antenna retract.
It might be that even though you stop the radio the app itself remains in memory and the car's electronics "sees" it and doesn't retract the antenna until the app is stopped (by stopping the HeadUnit completely).

Playing radio if car engine is stopped

Hejka
I have PX5 radio with android 9 (rk3368) with new MTCE MCU version.
I want to turn on my radio if the radio is in suspended mode. I want to listen music when my car is parked.
How I turn on my radio on parked car?
Tnx for reply.
Regards
Rafał
rafal_olb said:
Hejka
I have PX5 radio with android 9 (rk3368) with new MTCE MCU version.
I want to turn on my radio if the radio is in suspended mode. I want to listen music when my car is parked.
How I turn on my radio on parked car?
Tnx for reply.
Regards
Rafał
Click to expand...
Click to collapse
Sorry to bump your thread, however have you found a way to do this yet? I have a PX6 Android 11 radio and want to do the same thing. Thanks!
The accessory power wire should allow the radio to work when the ignition key is in the accessory position. This is usually one stop before the normal run position but can be on the opposite side of the keys off position. If you did not wire the radio to include the accessory wire you need to rewire. If this does not work for some reason You could also use an always on 12 volt circuit and add an on off switch to allow you to use or turn off the radio at any time.
I have electric car, I have a large battery capacity in the car, additionally I controls the discharge of the battery.
country_hick said:
The accessory power wire should allow the radio to work when the ignition key is in the accessory position. This is usually one stop before the normal run position but can be on the opposite side of the keys off position. If you did not wire the radio to include the accessory wire you need to rewire. If this does not work for some reason You could also use an always on 12 volt circuit and add an on off switch to allow you to use or turn off the radio at any time.
Click to expand...
Click to collapse
I want to do it in software, not hardware.
rafal_olb said:
I want to do it in software, not hardware.
Click to expand...
Click to collapse
How are your MCU coding skills. See MCU / audio modding thread and get coding. Do share your modding progress here!
marchnz said:
How are your MCU coding skills. See MCU / audio modding thread and get coding. Do share your modding progress here!
Click to expand...
Click to collapse
Interesting. I've never really done any development with hardware directly beyond using a raspberry pi however I'm always willing to learn something new! Any good areas to start? Is this on a per-device basis or are these MCUs standard across all rockchip models? I have very little understanding of how it all works together you see...
From my initial understanding I thought the canbox controlled all of this. I do have all hardware needed to think to flash software if required. Otherwise the head unit is literally useless to me.
@rafal_olb I'd be happy to help work with you on this, I'm trying to do the same thing!
I'm software developer, but I'm not android developer and I have a one big problem, the problem is free time. I think that MCU sent signal do software, and then android going sleep. I thing that I need use rooted PX5 software and in this software I need to find function/method which put android sleep. Do you have free time to buy/search px5 rooted software and find this method in all android system files?

Categories

Resources