Android Question Control a relay via cellular network.

Giacomo

Active Member
Licensed User
Longtime User
I'd like to control a relay via cellular network.
I already have web space, but I don't know how to send a command.

Can you help me?
 

Cableguy

Expert
Licensed User
Longtime User
See here :

 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
@Giacomo , please, in the general space, write in English so that everyone can understand.
I guess @emexes question is, why are you contemplating the use of a "web space" to control relays...
If that is really what you want to implement, then you need to create a middle man hardware that will receive the "commands " from web and send it through the gsm network to the relay board. This implies both B4J and B4R, but I don't think you really need b4A, except in the case you ditch completely the web interface and send commands directly from an Android App (in the form of SMS)
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
You can get some inspiration fron this project, but as Cableguy says, you will need something in the middle, like a very cheap ESP8266, to receive the messages and activate the relay.

Cosa vuoi sapere ? è spazio gratuito su ALTERVISTA
We don't know what services offers ALTERVISTA. Free space to store data? PHP hosting?
If it's PHP hosting, you should learn how to send messages to MQTT from PHP.
If you want to use a mobile app, you have an example in the post I gave you
 
Last edited:
Upvote 0

SandroSantec

New Member
Licensed User
Longtime User
Gostaria de controlar um relé via rede celular.
Já tenho espaço na web, mas não sei como enviar um comando.

Você pode me ajudar?
Olá, pessoal! Trabalhei Tenho em projetos de automação e IoT usando Arduino e ESP8266/Esp32 com b4a e b4j. Sou apenas um hobbyista, mas me esforcei ao máximo para criar algo legal.

Tenho uma versão básica, perfeita para quem está começando, e outra versão que considero lançada, com mais recursos. Gostaria de saber se a comunidade tem interesse em dar uma olhada no código. Acho que pode ser útil para trocar ideias!

Só um aviso: minha vida anda um pouco corrida, então posso demorar um pouco para responder às mensagens. Mas fique tranquilo que entrarei em contato o mais breve possível para compartilhar os projetos.

Também quero aproveitar esta oportunidade para agradecer a todos neste fórum e por todas as ideias e dicas valiosas que você encontrar aqui.
 

Attachments

  • inicial.jpeg
    inicial.jpeg
    32.2 KB · Views: 26
Last edited:
Upvote 0

josejad

Expert
Licensed User
Longtime User
Gostaria de saber se a comunidade tem interesse em dar uma olhada no código. Acho que pode ser útil para trocar ideias!
Hey Sandro!! Of course, we would be delighted to see your examples when you have time for it.

But remember, start a new thread to show them, and remember to post in English in this part of the forum. There are local forums for different languages.

See you soon!!
 
Upvote 0
Top