How to do simply request on my arduino webserver? - Google Home

Hi, i have a google home mini and i need to make a new action.
i want say "hey google, turn on the irrigator" and GH must make a request on my arduino web server, example and GH must make a request on my arduino with a web server
i guess that i cannot use un webhook becouse not have a public ip but only a shared ip. How to do?

Related

Public IP Address??

I am trying to run one of the many FTP servers available for Windows Mobile (vxFTPSrv or ShareIT FTP) to keep some files in sync but I can't seem to figure out what public IP address my phone has. vxFTPSrv says it is listening to a non-routable 10.**** while whatismy ip says it starts with a 200.**** while DynDNS for Windows Mobile says it is 32.****. Nevertheless, none of these work nor can I get these programs to listen to the ports. Any ideas? Does the Tilt even get a public IP address from AT&T? Thanks.
Try this
I'm no pro, but had to tell the Physical address to the the tech guy at my university so he could enable my phone o use the wireless network...
... anyways, download and install a Registry Editor (I use Task Manager v2.8) you should be able to access an Ipconfig tab, where all the information is available.
I don't know if I'm in the right track.... Hope this helps? =)
jim
your pda have an ip address
using wifi router the uplink sees the routers ip
using an isp the internet sees the isp's assigned ip
http://www.ip-adress.com/
http://en.wikipedia.org/wiki/IP_address
Here is a kewl utility that is FREE.
http://www.cam.com/vxutil_pers.html
Here is the stuff it does.
DNS Audit
DNS Lookup
Finger
Get HTML
Info
IP Subnet Calculator
Password Generator
Ping
Ping Sweep
Port Scanner
Quote
Time Service
Trace Route
Wake On LAN
Whois
Another good one I use is Iper Suite.
http://tonaya.com/products/iper/index.php
For casual use the first one is probably satisfactory.
IPer is worth buying for the increased functionality and has a TFTP client.
HTH
TSoma said:
I am trying to run one of the many FTP servers available for Windows Mobile (vxFTPSrv or ShareIT FTP) to keep some files in sync but I can't seem to figure out what public IP address my phone has. vxFTPSrv says it is listening to a non-routable 10.**** while whatismy ip says it starts with a 200.**** while DynDNS for Windows Mobile says it is 32.****. Nevertheless, none of these work nor can I get these programs to listen to the ports. Any ideas? Does the Tilt even get a public IP address from AT&T? Thanks.
Click to expand...
Click to collapse
200.* would be a public IP. As would 32.*
Turn off your proxy setting in the phone and do the www.whatismyip.com thing. That will get you a more meaningfull result than anything else.
When I'm on GPRS/Edge (AT&T proxy settings in force) network I get a 66.102.186.15 IP address as reported by whatismyip.com. That resolves to alpmagr1fe06-dmz.mycingular.net. Which should be a att proxy server even tho it implies by its name its on a DMZ.
When I turn off the proxy for GPRS/Edge I get 166.195.188.15 according to whatismyip.com. That IP address will not respond to ICMP commands. So I assume it is firewalled. So it seems to me that yes you CAN and DO get a public IP address, its just that address is heavily firewalled.
You've piqued my interest, tho I cannot do anymore testing at this moment.

[Off-Topic] How do I setup a connection to my home web server?

(Don't blame me for being long-winded, I'm just explaning the situation (why I want to do all these) and also to prevent people from asking questions such as "Why do you even want to host your website at home?")
I want to pay for web hosting, but, as a student, I can't. I also want to host all my Android Development on my site, apart from XDA and Samdroid. But, I can't use a credit card (obviously, my country dosen't allow ownage of CCs before 21), and free web hosts (sorry for shouting) S*CK. Slow loading, banning because of CPU-hogging/ too many cron jobs, etc, etc... Also, my parents are paranoid about their credit card details being sold online at exorbitant prices. I do understand that web hosting is expensive, and it is not really wise to allow free web hosting, and I do not want to blame them for banning me, hence I decided to host my website from home. *catches breath* I do have some prior knowledge of fixing stuff, and whipping old parts into one lean mean computing machine. I've set up the computer, and configured my router. I can view the web site (It's good'ol wordpress) when I typed my local IP into the web browser from another computer in the home network. But, when I tried to access using the public IP from my school, I cannot enter the site. I have previously configured port-forwarding. I used No-IP's dynamic DNS client in this case. When I checked my public IP using different websites, all gave me different information. One gave me an IP with 255.244.***.***, another gave me 157.209.***.***, and others gave me 255.250.***.***
1) How do I make sure that when someone types in a URL or IP, it will show me what I want them to show?
2) Why are different websites give me different public IPs? No, I don't have a firewall, or a proxy.
We need more information:
1. Who is your internet provider
2. How do you connect? ADSL/SDSL/T1/Dial up?
3. If its ADSL/SDSL then you'll have a router (unless they've given you a USB modem for it). We'll need to know what type.
4. What's your concection speed, both down and more importantly up.
Now, assuming your ISP doesn't give you web space that you could use, then you'll need the following:
You'll need a dynamic dns service, some are free.
You'll need a router which can forward http (TCP port 80) traffic from the internet to your web server.
Once the router is forwarding http traffic to the web server, people on the internet will be able to access your website.
If you want to access it using the same address then you'll have to update your hosts file on your computer.
For windows this is in C:\windows\system32\drivers\etc\hosts
Add an entry like:
dynamic dns web address IP address of webserver
So if you've set up arikyeo.dyndns.org and your webserver's internal IP address is 192.168.0.200 then you'd add the following to the hosts file:
arikyeo.dyndns.org 192.168.0.200
xaccers said:
We need more information:
1. Who is your internet provider
2. How do you connect? ADSL/SDSL/T1/Dial up?
3. If its ADSL/SDSL then you'll have a router (unless they've given you a USB modem for it). We'll need to know what type.
4. What's your concection speed, both down and more importantly up.
Now, assuming your ISP doesn't give you web space that you could use, then you'll need the following:
You'll need a dynamic dns service, some are free.
You'll need a router which can forward http (TCP port 80) traffic from the internet to your web server.
Once the router is forwarding http traffic to the web server, people on the internet will be able to access your website.
If you want to access it using the same address then you'll have to update your hosts file on your computer.
For windows this is in C:\windows\system32\drivers\etc\hosts
Add an entry like:
dynamic dns web address IP address of webserver
So if you've set up arikyeo.dyndns.org and your webserver's internal IP address is 192.168.0.200 then you'd add the following to the hosts file:
arikyeo.dyndns.org 192.168.0.200
Click to expand...
Click to collapse
I used No-IP dynamic DNS service, with their client. But, it didn't work. I am using Singtel as my ISP, with a Linksys B/G router. I have forwarded the port 80 to the IP, and set port 80 as an exception. I can view the site locally, but not from the outside world.
Setup your no ip on their site as a port 80 forward. Forward this to the local port on your computer that you are using for the server. Log into your router and port forward the same port that you put in for the no ip into the from and to ports section and be sure its forwarding to your lan ip. After this is done then try it.
Sent from my DROID2 using XDA App
I see that you have already been told how best to start your server. I can also recommend instructions for collecting server statistics https://www.host-tracker.com/Blog/server_m/ This will come in handy for you in the future. Here you can configure notifications for server failures.

[APP] [TUT]Torrent Buddy

"Torrent Buddy is a client application which run on windows phone and communicate with your uTorrent client/webserver running on your PC. This is pretty handy to look at the status of your torrents and control them as needed. What’s unique about Torrent Buddy compared to other apps on market place is that it lets you add new torrents from any website and RSS feeds. Not only that, it also allows you to add torrent from sites which require authentication by adding your own cookie information."
The Trial version will support everything except adding new torrents
you can get it from the market place.
I am nothing to do with this app It just taken me ages to get it set up so thought I would help in case anyone else needed it
OK so I thought I would write up a little tutorial on how to set this app up, as the only info i could find was on this site(the creates of the app)
OK so I found the easiest way of doing this guys was like this (my pc is connected via wifi)
1.give yourself a static ip=
start>control panel>network connections>right click you’re wireless connection>properties>
2.on the General Tab there is a box you can scroll down to, got to Internet protocol(TCP/IP)click on it and click properties
3.use the following IP Address example
IP. = 192.168.1.3
subnet = 255.255.255.0
Deafult gateway = (mine was) 192.168.1.1
DNS server (mine was) 192.168.1.1
click ok to save then ok
4. log in to you’re router(mine is Netgear so 192.168.1.1)
5.go to port forwarding
6.create new port forward
Service Name = Torrent Buddy
Service Type = TCP/UDP
Starting Port = chose a port
Ending Port = chose a port
Server IP Address (you’re static address)
save and log out you’re router
7.uTorrent setup – In uTorrent, go to options->Preferences->Web UI, Select “Enable Web UI” check mark. Enter a username and password and keep not of the connectivity port. This is what you will need to connect from torrent buddy (Select the check box and enter the port you chose for port forwarding).
Go to http://portforward.com/ and it will show you you’re IP.
fire up torrent buddy and open connections menu
9.Friendly name = whatever you want
Server name = http://yourIP:the port you chose
username = the same you chose for the settings in Utorrent
Password = as above
save
10.click the connection you created and press the tick box if you did everything ok then it should go back to the main screen and connect and then you can watch you’re torrents.
Hope this helps
请问一下具体怎么设置? 为什么我的总是提示登陆失败? 有图片教程?
请问一下具体怎么设置? 为什么我的总是提示登陆失败? 有图片教程? 我 没有路由器?Torrent Buddy is a client application

[Q] Authenticate on Intranet websites?

I would like to use the xoom to view web pages on my companies intranet site when I am connected to the internal wifi. When I connect to a web page with the browser, I am promted for my login details. No matter how I try and put them in, I seem to be unable to connect. I have tried specifying my user name:
user
[email protected]
domain\user
When using a laptop not joined to the domain, I can use [email protected] or domain\user.
Does anyone know how I can connect to these secured sites? Is there another browser I should use or is this some kerberos/android incompatibility?
For me I just have to use my company email address
Sent from my Xoom using XDA App
id try out firefox if your are still having problems
we have a staff intranet, and I can log in using my normal username and password. must be the way you guys have it configured. sorry not much use, but just +1 for "works for me".
padanfain said:
I would like to use the xoom to view web pages on my companies intranet site when I am connected to the internal wifi. When I connect to a web page with the browser, I am promted for my login details. No matter how I try and put them in, I seem to be unable to connect. I have tried specifying my user name:
user
[email protected]
domain\user
When using a laptop not joined to the domain, I can use [email protected] or domain\user.
Does anyone know how I can connect to these secured sites? Is there another browser I should use or is this some kerberos/android incompatibility?
Click to expand...
Click to collapse
I have the same issue, I would like to log into my sharepoint site but I get a user/pass/domain auth challenge that no matter what I enter comes back incorrect.
I designed and installed and currently maintain the global network for my company, and I can tell you, we've had success with our Android OS users authenticating.
If the default authentication (domain\user) doesn't work, try using the FQDN of your domain (may not be a .com). If you work for XYZ Corp, you may have e-mail address [email protected], but your authentication may be [email protected]
You can check your domain info (provided your Exchange admin hasn't removed it) on your GAL contact card. Open Exchange (webmail or Outlook client) and open your contact card (search the GAL for yourself). Look under the "E-mail addresses" section). If you see something other than a global TLD (.com, .net, ...), you may want to try it. Alternatively, from a domain machine, type ipconfig /all and check what your DNS suffix is. That should get you rolling.
Worst case, check w/your IT department and see if you work with jerks or cool people Review access logs with them from your intranet site and see what username your device is sending. If you'd like, I can provide a simple Windows-based authentication site for you all to test, I will post and review logs with you.
Let me know if you want me to, I'll set up a website.
The stock browser doesnt support anything but basic authentication apparantly
Use firefox and it works
Firefox does seem to work, but the default browser is way better for all other things... oh well.

Is there a way to extract a "hardware ID" (or similar) from a Google Home?

I'm working on a project which uses Google Homes to aid in data collection, and each of our participants logs information via voice command. This data is written to a database, but currently I haven't found a way to distinguish which commands came from which Google Home.
I'm still figuring out what's possible with these devices, but does anyone know any tricks or authentication techniques to scrape off unique identifiers? I need to whip up an authentication scheme for distinguishing recorded Google Home commands between hardware units.
IP address?
<google-home-ip>:8008/setup/eureka_info?params=device_info&options=detail
Pull the info off the router?
I like @Ogre_nl's answer!
The hardware address is the mac address of the ethernet interface of the device. For the Home Hub and Home Mini's that I have, the only interface is Wifi, so the hardware device would be the MAC address of the WiFI device.
Typically, I would grab the MAC Address via the Google Home App under <Device Name> -> Settings -> Scroll to the very bottom and you will find the details of the device. (verified on an iOS device as well as the Google Home app on my s9+, Pixel 2 XL, and Pixel 3 XL).
If you don't have access via the Google Home app, you could also get the IP address from the device itself via the settings function (e.g., home hub > swipe up for settings) and then login to your upstream router to get the matching IP address and the corresponding mac address.
If you use a network monitoring device like the neat little Fing.IO device, you can get the MAC Address from that interface/service as well.
u1gc said:
I'm working on a project which uses Google Homes to aid in data collection, and each of our participants logs information via voice command. This data is written to a database
Click to expand...
Click to collapse
Hi, i'm interested how you write in your database the voice command. How you extract command voice and transform it in string? Do you use a Google Action or a script that "hack" google home?

Categories

Resources