Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Me No Dev
@me-no-dev
which reads twice faster than 80MHz DIO and 4 times 40MHz DIO
probonopd
@probonopd
@me-no-dev let's see if they merge it. some projects don't like PRs that consist of more than one commit
FWeinb
@FWeinb
Thanks for the explanation. I am totally new to embedded hardware.
probonopd
@probonopd
e.g., OpenWrt advises to rebase so that there is only one commit per PR
Me No Dev
@me-no-dev
they were fine before ;) plus the commit is kinda embarassing :D
cuz there is try/catch but nothing to raise exception
maybe if there were more than one commits that were changes yes, but they are all merges from master (keeping up with them)
Ivan Grokhotkov
@igrr
@stefangordon I was having a few issues with the server which hosts package json files, but these are fixed now. 2.1.0-rc2 should be up within few hours
probonopd
@probonopd
i just would like to say a big "thank you" to @igrr @me-no-dev and this awesome community which totally rocks
Me No Dev
@me-no-dev
you're welcome @probonopd ! not sure for what though :D
probonopd
@probonopd
does anyone have mosquitto running with esp and TLS?
i end in a reboot loop
Helio Machado
@0x2b3bfa0
@/all Anybody knows if exists any small, commercial and affordable transformerless solution to power up my ESP from mains. I've seen some circuits based on LNK306, but I can't find (even on Ali) a board with the chip mounted. Only the chips.
Me No Dev
@me-no-dev
@crushedice2000 let me know if you find anything ;) i'm also interested in such thing. Most found are either too noisy or too big
don't know if this fits your "transformerless" solution though, but I don't know how you'd get from 230VAC down to 3.3VDC without some sort of transformer :)
Me No Dev
@me-no-dev
there are ways. issues come with current :)
it's really easy to get 30mA, but that is not going to feed the esp
Me No Dev
@me-no-dev
@AdySan I have that thing and it's not that small :) you can fit small transformer and bridge inside
Aditya Tannu
@AdySan
@me-no-dev haha, thanks for the heads up, has been in my cart for a few weeks now. but yeah, cheap iPhone chargers ~$1 are the best/smallest power supply for projects.
I tried to open a smart 433MHz socket but the capacitive PS was extremely wimpy.
Me No Dev
@me-no-dev
those 433MHz "smart" things use verry little electricity to receive data and they on their own are sooo unpredictable
i send perfect signal to those 3-4 times to be sure they heard me
Aditya Tannu
@AdySan
yeah, the transmitters ususally keep repeating the binary pattern as long as you press the button
Me No Dev
@me-no-dev
try swithching 10 at the same time
probonopd
@probonopd
@AdySan and an usafe option, these $1 chargers...
unsafe
@me-no-dev @Makuna could we use something like Protothreads http://dunkels.com/adam/pt/ for fades and animations?
I have a sketch that does MQTT, OTA and Neopixels now.
But adding animation to it is not easy
so I wonder whether something like Protothreads could help to make it easier
e.g., instead of strip.SetPixelColor(0, blue); I would like to strip.FadePixelColor(0,1000,blue);
without adding someting to loop() that I need to take care of/that interferes with OTA, MQTT and other stuff
Me No Dev
@me-no-dev
ideally OTA and MQTT should run async and your pixels in the loop
then you would not have that problem
OTA needs attention after successful handshake with the computer
and that has tomeout of around 10-20 seconds
do not worry much about OTA
maybe if Espressif gets RTOS for ESP at the same level as NON_OS (this) we will move over and forget about issues like this one
Aditya Tannu
@AdySan
hi all, would it be possible to make a SSH client using the arduino core, basically I want to make a dash-button like device, which will ssh into a certain computer and run something. Any other approaches are welcome too, as long as I can run a root level command at the terminal
Markus
@Links2004
@AdySan there is no SSH lib for Arduino, can you run a program on the computer?
Aditya Tannu
@AdySan
@Links2004 yes, basically I want a remote reboot button for my RPi, I can run any sort of host on the RPi side
Markus
@Links2004
ok simple start a https webserver that runs a script that exec your command by sudo.
but think about how to secure (only allow the ESP to run stuff)
Me No Dev
@me-no-dev
@AdySan you can write your own server for the Pi the same way you write for the ESP
99% the same code
I know you've seen the repository :)
Aditya Tannu
@AdySan
interesting, was planning to have a remote display using VNC library made by @Links2004 but in case the RPi freezes or the VNC server is not up for some reason, it would be nice to have a backup option which can reboot or start the vnc server
Markus
@Links2004

without security:
run apache + php on the pi.

<?php
exec($_POST);

use HTTP client to send a POST with the command.
if it always the same you can hardcode it.

<?php
exec("sudo reboot");
Aditya Tannu
@AdySan
@me-no-dev oh the RPi/Arduino, yes I did :smile: