Tuesday, September 29, 2026

Camera on LAN - Get urls

 

python code snippet  to get url for use with vlc and show the camera on LAN

 

#connection code , previously done in this blog

media = camera.create_media_service()

profiles = media.GetProfiles()

for p in profiles:
    print("Profile:", p.Name)
    print("Token:", p.token)

    uri = media.GetStreamUri({
        'StreamSetup': {
            'Stream': 'RTP-Unicast',
            'Transport': {
                'Protocol': 'RTSP'
            }
        },
        'ProfileToken': p.token
    })

    print("RTSP:", uri.Uri)
    print() 


#

vlc 'rtsp://admin:your_key@192.168.1.8:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1'

Camera on LAN - Check on LAN

 

python code to test camera ONVIF(EZVIZ) on LAN, if you do not know the ip, use nmap to scan.

 from onvif import ONVIFCamera

camera = ONVIFCamera(
    '192.168.1.8',
    80,
    'admin',
    'your_key',  #get from QR or app
    no_cache=True
)

print("Connected to ONVIF")

info = camera.devicemgmt.GetDeviceInformation()

print("Manufacturer:", info.Manufacturer)
print("Model:", info.Model)
print("Firmware:", info.FirmwareVersion)
print("Serial:", info.SerialNumber)
print("Hardware ID:", info.HardwareId)

Tuesday, September 15, 2026

Friday, September 04, 2026

Slides animation online

 

 

 

[1] Slides +Animation https://slidespeak.co/free-tools/animate-slides-with-ai 

[2] Slides to mp4 https://slidespeak.co/free-tools/convert-powerpoint-to-video-ai

[3] https://app.synthesia.io (To get text to speak/chrome) 

[4] Animation introductions https://www.flexclip.com (To get intro)

Friday, August 28, 2026

Online text to speeach tools

 

[1] Free 500 letters. https://fish.audio/app/text-to-speech/   #e-mail

Arduino Sensors - Gas

 

 

References:

[1] gas sensors MQx https://naylampmechatronics.com/blog/42_tutorial-sensores-de-gas-mq2-mq3-mq7-y-mq135.html

[2] gas sensor MQ135 https://www.tecneu.com/blogs/tutoriales-de-electronica/mq135

[3] gas sensor MQ137 (Ammonia) https://circuitdigest.com/microcontroller-projects/arduino-mq137-ammonia-sensor 


Resources(wifi):

[1] https://mecatronica.saisac.pe/producto/modulo-esp-01-esp8266-wifi/

[2] https://www.electromania.pe/?s=ESP8266&post_type=product

[3] https://www.teslaelectronic.com.pe/producto/modulo-esp8266-serial-wifi/?srsltid=AfmBOoq-9awBhXa6sHpJDswF0XyhD_mICthqr3IEZgQzeOaCFI0GygXP


Wednesday, August 26, 2026

Setup Arduino IDE

 

avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied

$ ls -l /dev/ttyACM* 

crw-rw-r-- 1 root dialout ... /dev/ttyACM0

Fix:

sudo chmod a+rw /dev/ttyACM0 


Resources:

[1] https://www.arduino.cc/en/software/

[2] Simulator https://www.tinkercad.com/ 

Thursday, August 20, 2026

Reference Network tools

 


Resources:

[1] https://www.vosviewer.com/download 

[2] https://www.vosviewer.com/documentation/Manual_VOSviewer_1.6.20.pdf

[3] https://api.crossref.org/swagger-ui/index.html  #how to query

How to run on PC/Linux

javaws file.jnlp

If not installed:

sudo apt install icedtea-netx


Camera on LAN - Get urls

  python code snippet  to get url for use with vlc and show the camera on LAN   #connection code , previously done in this blog media = came...