web control hosting sites?

Selfbondage software and other kinky developments

web control hosting sites?

Postby mtlsub » 06 May 2020, 15:35

Hi everyone, I recently got my ESP8266 working. The ESP8266 for those who don't know is similar to an arduino but it is focused on wifi / internet control and was recommended to me by others here on boundanna.

I found the hosting site "Remoteme" they allow you to create buttons, switches, and a bunch more controls and place them on a simple HTML page you can use to control your device. The site also generates a arduino IDE sketch to help you. Very simple for anyone asking the question "How can I have someone control X device over the internet?"

I was wondering if anyone has other similar sites I could try?
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby thatthat21 » 06 May 2020, 21:56

I have been using and play around with https://store.particle.io. They have an online IDE you can use, and have both cellular, wifi, and bluetooth models. It also has a setup that will let you make API calls threw their system to your device as well.
thatthat21
**
 
Posts: 121
Joined: 07 Nov 2013, 02:23

Re: web control hosting sites?

Postby mtlsub » 07 May 2020, 03:10

Thanks I'll check them out!
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby GeneralError » 07 May 2020, 08:16

Very interesting approaches! I'll have to check them out. Thank's for sharing!
User avatar
GeneralError
**
 
Posts: 92
Joined: 16 Sep 2019, 13:30
Location: Germany

Re: web control hosting sites?

Postby thatthat21 » 07 May 2020, 22:21

I will say that I have been unable to get the RF dog shock collars to work... not sure as to why, all my test show the hardware to be working. But I just wired the remote to some relays and have it all coded up to change the mode, power up and power down and broadcast. Works great, so now my partner can shock me any time they want to with out me know. Mind you I have to have the box with the relays in a central closet in the house so I do not hear the relays open and close, but has been working great.
thatthat21
**
 
Posts: 121
Joined: 07 Nov 2013, 02:23

Re: web control hosting sites?

Postby mtlsub » 09 May 2020, 15:05

I too am having trouble porting my Rf code from the Arduino (it works fine on the Arduino). I can get LEDs and relays to work via the web no problem. I'm still working on itñ
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby mtlsub » 11 May 2020, 16:25

OK.... I got the shock collar working over internet. it took a lot of troubleshooting and it is not pretty but it works with the hardware I have on hand.

First problem. esp 8266 works on 3.3v the arduino works on 5v. 3.3v is not going to power the transmitter. So I used an arduino as the control for the transmitter and used the ESP8266 to send a HIGH signal to a pin on the arduino.
Second problem. it looks like the 3.3v HIGH signal is not enough to trigger HIGH on the digital GPIO pins. It only started working when I changed the trigger pin to A0.

So now when the button is pressed on the web page it sends a HIGH signal from pin D3 on the esp8266 to pin A0 on the arduino.
The arduino then sends the command to the collar using the 433 transmitter and a modified Deviant Design code.

like I said not pretty but it is a working concept.
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby Gregovic » 11 May 2020, 16:54

if you're just using the Arduino as a level converter, I'd put something likethis actual level converter in. Lot less bulky.
My top theory: Everyone is an idiot. Maybe not always or regarding all topics. But sooner or later everyone is an idiot. Make sure you don't have to look back and think "Gee, how could I have been such an idiot?"
User avatar
Gregovic
****
 
Posts: 558
Joined: 26 Mar 2016, 20:31
Location: Netherlands

Re: web control hosting sites?

Postby mtlsub » 11 May 2020, 17:14

2 reasons really. First I have an extra arduino on hand and more importantly I HAD NO IDEA THAT EXISTED! Thanks for the help I'm off to order more stuff :twisted: :hi:
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby Gregovic » 11 May 2020, 17:30

mtlsub wrote:2 reasons really. First I have an extra arduino on hand and more importantly I HAD NO IDEA THAT EXISTED! Thanks for the help I'm off to order more stuff :twisted: :hi:


Yep, knowing what exists is often half the battle in itself. :wink:
My top theory: Everyone is an idiot. Maybe not always or regarding all topics. But sooner or later everyone is an idiot. Make sure you don't have to look back and think "Gee, how could I have been such an idiot?"
User avatar
Gregovic
****
 
Posts: 558
Joined: 26 Mar 2016, 20:31
Location: Netherlands

Re: web control hosting sites?

Postby thatthat21 » 11 May 2020, 19:36

mtlsub wrote:OK.... I got the shock collar working over internet. it took a lot of troubleshooting and it is not pretty but it works with the hardware I have on hand.

First problem. esp 8266 works on 3.3v the arduino works on 5v. 3.3v is not going to power the transmitter. So I used an arduino as the control for the transmitter and used the ESP8266 to send a HIGH signal to a pin on the arduino.
Second problem. it looks like the 3.3v HIGH signal is not enough to trigger HIGH on the digital GPIO pins. It only started working when I changed the trigger pin to A0.

So now when the button is pressed on the web page it sends a HIGH signal from pin D3 on the esp8266 to pin A0 on the arduino.
The arduino then sends the command to the collar using the 433 transmitter and a modified Deviant Design code.

like I said not pretty but it is a working concept.


On the Particle board that I was using it has a 3.3V and just a USBv I was able to get the 5v relay to work when I was testing it before, but converted to a 3.3V relay setup just to make things easy, so my problem could just be getting the power that is needed for the RF to work... is there away to use an out side power source? I have a power addapert that plug into the breadboards, and it can provide both 3.3V and 5V. So if I could use it as the power source that would fix my problems here I hope.
thatthat21
**
 
Posts: 121
Joined: 07 Nov 2013, 02:23

Re: web control hosting sites?

Postby mtlsub » 11 May 2020, 21:00

I used an arduino for power because it is what i had on hand but look at the link Gregovic posted it looks like it can change 3.3v to 5v for both the relays and the RF transmitter.

if your power source has 2 outputs you could have one rail on your bread board at 3.3v and the other at 5v. don't mix them up lol
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby GeneralError » 12 May 2020, 09:47

In my prototyped setup I described in https://forum.boundanna.net/board/viewtopic.php?f=12&t=12481&p=89990#p90005 I was able to control the shock collar with an arduino nano and with an esp8266 as well. No level converter or relais are required. Just the cheap little 433MHz sender module connected with some jumper wires.
I have to pick up this approach again and bring it to a more applicable and reproducible level.
User avatar
GeneralError
**
 
Posts: 92
Joined: 16 Sep 2019, 13:30
Location: Germany

Re: web control hosting sites?

Postby mtlsub » 12 May 2020, 14:10

Strange. I could not get it to work. It would have been easier to only use the ESP. Still need the 5V for the relays I have though.

I look forward to seeing what you come up with.
mtlsub
**
 
Posts: 93
Joined: 12 Oct 2010, 03:23

Re: web control hosting sites?

Postby chained » 19 May 2020, 21:50

Try this, it's self hosting, basically just plug it in and configure it. The relays can be connected to virtually any device you want, sometimes a little soldering or wire twisting will be required. If I told you some of things I've done with it, you'd be freaked out ... but I'm still alive. By the way, the company has newer better stuff, so do a little reading.

viewtopic.php?f=28&t=8891
chained
*
 
Posts: 17
Joined: 20 Oct 2013, 05:45


Return to Software

Who is online

Users browsing this forum: No registered users and 2 guests