icez network View RSS

Technical Blog by icez network
Hide details



0263 | บั๊กตู้ชาร์จ ปตท รุ่นใหม่ๆ 29 Jun 10:44 PM (3 months ago)

พอดีเดินทางแล้วก็ต้องใช้งานตู้ชาร์จรถครับ ล่าสุดไปทะเลาะกับตู้ชาร์จ ปตท รุ่นใหม่ๆ หน่อย ล่าสุดก็คือไอ้ตู้รุ่นนี้ ที่จะมีแขนจับที่ชาร์จห้อยลอยๆ ที่สะดวกดีนะ ยกสายง่ายขึ้นเยอะ

ปัญหาคือ ตู้รุ่นนี้รองรับ auto charge ครับ (auto charge คือ function ที่ทำให้เราสามารถเสียบหัวจ่ายไฟของตู้ชาร์จเข้ากับรถ แล้วมันจะเริ่มชาร์จเลยโดยไม่ต้องมาวุ่นวายแสกน qrcode อะไรให้ปวดหัว)

ที่เป็นปัญหาขึ้นมาเพราะ

แนวทางเบื้องต้นของคนใช้รถ (ระหว่างรอ ปตท. แก้)

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0262 | freeipa add replica stuck at ‘No status yet’ 17 Feb 10:25 PM (8 months ago)

reference: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org/thread/OY6EC5XS54OLKBL57S3FJ3HUANWIJQPN/

ipa-replica-install stuck with:

  [26/40]: setting up initial replication
Starting replication, please wait until this has completed.
No status yet
No status yet
No status yet
No status yet
No status yet
No status yet
No status yet
No status yet
No status yet
No status yet

step to fix

/usr/sbin/ipa-server-install --uninstall
dn: cn=config
changetype: modify
replace: nsslapd-maxsasliosize
nsslapd-maxsasliosize: 8388608
replace: nsslapd-sasl-max-buffer-size
nsslapd-sasl-max-buffer-size: 8388608

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0261 | เปิด ripe-atlas probe กันเถอะ 13 Jan 10:49 PM (9 months ago)

docker-compose.yml

services:
  ripe-atlas:
    image: jamesits/ripe-atlas:latest
    restart: always
    environment:
      RXTXRPT: "yes"
    volumes:
      - "./etc:/var/atlas-probe/etc"
      - "./status:/var/atlas-probe/status"
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - SETUID
      - SETGID
      - DAC_OVERRIDE
      - NET_RAW
#    mem_limit: "64000000000"
#    mem_reservation: 64m
    labels:
      - "traefik.enable=false"
      - "com.centurylinklabs.watchtower.enable=true"
    logging:
      driver: json-file
      options:
         max-size: 10m
    network_mode: "host" # if possible, avoid double NAT
    # security_opt:
    #   - seccomp:unconfined

รันแล้วจะได้ไฟล์ public key ใน folder ./etc/probe_key.pub เอาไปใส่ใน https://atlas.ripe.net

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0260 | usb to serial driver สำหรับ windows arm 4 Nov 2024 9:59 AM (11 months ago)

D2XX Drivers

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0259 | ลง ansible หลาย version ในเครื่องเดียวแบบไม่ให้งง 24 Sep 2024 3:29 AM (last year)

จดไว้กันลืม

cd ~
virtualenv ansible-9.10.0
cd ansible-9.10.0
source bin/activate
python3 -m pip install ansible==9.10.0
python3 -m pip install cryptography==42.0.7 jinja2==3.1.4 jmespath==1.0.1 jsonschema==4.22.0 MarkupSafe==2.1.5 netaddr==1.2.1 pbr==6.0.0 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0258 | EV FAQ 28 Aug 2023 8:26 AM (2 years ago)

แบตเสื่อม

  1. อาการ “แบตเสื่อม” มันคือการเก็บประจุได้น้อยลง ให้นึกก็เหมือนใช้รถน้ำมันไปแล้วถังน้ำมันเล็กลง (เติมน้ำมันได้น้อยลง = วิ่งได้ระยะทางน้อยลง)
  2. แบตมันจะค่อยๆ เสื่อม (คือระยะทางที่วิ่งได้เมื่อแบตเต็มลดลงเรื่อยๆ) ไม่ใช่ใช้ได้ปกติเรื่อยๆ แล้วพังขับไม่ได้ไปเลย
  3. แปลว่าการแบตเสื่อม (ถ้ายังไม่ถึงจุดที่พัง) ไม่ได้ทำให้ใช้งานรถไม่ได้ มันแค่ทำให้ระยะทางวิ่งได้สูงสุดลดลงเฉยๆ
  4. แบตไม่ได้เสื่อมง่ายขนาดนั้น เพราะขนาดแบต, เทคโนโลยีแบตของรถยนต์ไฟฟ้าแต่ละรุ่นในตลาดตอนนี้
  5. แบตจะเสื่อมถึงขั้นมีปัญหาเมื่อไหร่ ขึ้นกับขนาดแบตของรถ ยิ่งแบตใหญ่ยิ่งได้เปรียบ
  6. สมมติว่าแบตเต็มวิ่งได้ 300 km / แบต 1 ลูกจะใช้งานได้ประมาณ 1000-2000 cycle คิดขั้นต่ำที่ 1000 cycle ก็คือใช้ได้อย่างน้อยๆ 300,000 km
  7. แบตรถมีความจุสูงมาก ขั้นต่ำๆ 30 kWh ต่อให้เสื่อมไป 50% ก็ยังเหลือ 15 kWh เท่ากับการใช้ไฟทั้งวันของบ้านหลังเล็กๆ หลังนึง

ติดที่ชาร์จที่บ้าน

  1. ไม่จำเป็นต้องใช้ไฟ 3 เฟสก็ได้ เฟสเดียวก็เหลือเฟือ
  2. แต่ต้องเดินสายไฟใหม่ เพราะระหว่างชาร์จ มันกินไฟมากกว่าเครื่องทำน้ำอุ่นทั่วไปประมาณสองเท่า + ใช้งานนานต่อเนื่อง
  3. ดู spec รถที่จะซื้อ (หรือซื้อมาแล้ว) ด้วยว่ารับกระแสไฟแบบกระแสสลับ (AC) ได้สูงสุดเท่าไหร่กรณีชาร์จ 1 เฟส และ 3 เฟส
  4. ไม่ใช่รถทุกรุ่นจะรับไฟ 3 เฟสได้

เสียบปลั๊กชาร์จ (ชาร์จฉุกเฉิน)

  1. ชาร์จที่บ้านก็พอถูไถ
  2. ห้ามใช้ปลั๊กพ่วงเด็ดขาด อันตราย อาจเกิดไฟไหม้ได้
  3. ห้ามตั้งกระแสเกิน 16 Amp (ประมาณ 3500 Watt)

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0257 | Peer กับ Content Provider ต่างประเทศในไทยบน Internet Exchange “ในไทย” 21 Jun 2023 9:47 AM (2 years ago)

ตอนนี้ผู้ให้บริการ Cloud / Content Provider หลายเจ้าเริ่มมาตั้ง node ในไทย และมีการเชื่อมต่อ internet ขาในประเทศกันเรื่อยๆ ก็เลยได้โอกาสขอ Peering กันผ่าน IX ครับ ที่ดังๆ ประมาณนี้

Cloudflare

Microsoft

Amazon

Twitch

Fastly CDN

Riot Games

TWGate / ChungHwa Telecom Taiwan

Hurricane Electric

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0256 | คำถามที่โดนถามบ่อยกับรถยนต์ไฟฟ้า 26 Dec 2022 1:44 AM (2 years ago)

คุยกะคนโน้นคนนี้แล้วก็เจอคำถามที่ถูกถามบ่อยๆ ได้ตามนี้ครับ

ชาร์จกี่ชั่วโมงถึงเต็ม

อยู่คอนโดทำไง

หาที่ชาร์จยังไง

ขับได้ไกลแค่ไหน

แบตเสื่อมมั้ย?

มีผู้โดยสารเพิ่ม กินไฟเพิ่มมั้ย

ค่าซ่อมบำรุง

กราฟด้านบนเอามาจากไหน

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0255 | ขับเทสล่าไปเชียงใหม่… 28 Nov 2022 7:19 AM (2 years ago)

Prelude

ซื้อ Tesla Model 3 Long Range มา(ซักพัก)แล้วครับ… จองปุ๊ปเทสล่าประกาศจดบริษัทเทสล่าในไทย… เจ็บปวดมาก 555 ข้ามเรื่องนี้ไปละกัน หรือใครอยากอ่านแบบสั้นๆ เชิญตามใน twitter ได้ครับ

Planning

วันเดินทางขาไป

วันเดินทางขากลับ

Conclusion

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

0254 | ต่อ Sofar Inverter HYD 6000-EP เข้า Home Assistant 12 Nov 2022 6:44 AM (2 years ago)

วิธีนี้สำหรับ Sofar Inverter ที่ตัว logger มี serial ขึ้นต้นด้วย 23xxxxxxxx นะครับ

[แก้ไข]

สิ่งที่ต้องมีก่อน

ขั้นตอน

FROM golang:1.19-bullseye

ADD . /src

RUN apt update && apt install -y ca-certificates tzdata && \
  cd /src && go build && cp -av /src/sofar /

CMD ["/sofar"]
services:
  sofar-export:
    image: sofar-export
    build: ./
    restart: unless-stopped
    command: /sofar -logger-serial 23xxxxxxxx -mqtt-url tcp://user:pass@mqttserverip:mqttport -port sofarinverterip:8899
docker compose up -d
mqtt:
  sensor:
    - name: inverter_Frequency_Grid
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Frequency_Grid / 100 }}"
      unit_of_measurement: "Hz"
      state_class: "measurement"
      device_class: "frequency"
    - name: inverter_PV_Generation_Today
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.PV_Generation_Today * 10}}"
      unit_of_measurement: "Wh"
      state_class: "measurement"
      device_class: "energy"
    - name: inverter_PV_Generation_Total
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.PV_Generation_Total * 100}}"
      unit_of_measurement: "Wh"
      state_class: "measurement"
      device_class: "energy"
    - name: inverter_ActivePower_Load_Sys
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.ActivePower_Load_Sys * 10}}"
      unit_of_measurement: "W"
      state_class: "measurement"
      device_class: "power"
    - name: inverter_ActivePower_PV_Ext
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.ActivePower_PV_Ext * 10}}"
      unit_of_measurement: "W"
      state_class: "measurement"
      device_class: "power"
    - name: inverter_ActivePower_Output_R
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.ActivePower_Output_R * 10}}"
      unit_of_measurement: "W"
      state_class: "measurement"
      device_class: "power"
    - name: inverter_ActivePower_Output_Total
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.ActivePower_Output_Total * 10}}"
      unit_of_measurement: "W"
      state_class: "measurement"
      device_class: "power"
    - name: inverter_ActivePower_PCC_R
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.ActivePower_PCC_R * 10}}"
      unit_of_measurement: "W"
      state_class: "measurement"
      device_class: "power"
    - name: inverter_ActivePower_PCC_Total
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.ActivePower_PCC_Total * 10}}"
      unit_of_measurement: "W"
      state_class: "measurement"
      device_class: "power"
    - name: inverter_Voltage_Phase_R
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Voltage_Phase_R / 10}}"
      unit_of_measurement: "V"
      state_class: "measurement"
      device_class: "voltage"
    - name: inverter_Voltage_PV1
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Voltage_PV1 / 10}}"
      unit_of_measurement: "V"
      state_class: "measurement"
      device_class: "voltage"
    - name: inverter_Voltage_PV2
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Voltage_PV2 / 10}}"
      unit_of_measurement: "V"
      state_class: "measurement"
      device_class: "voltage"
    - name: inverter_Current_PV1
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Current_PV1 / 100 }}"
      unit_of_measurement: "A"
      state_class: "measurement"
      device_class: "current"
    - name: inverter_Current_PV2
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Current_PV2 / 100}}"
      unit_of_measurement: "A"
      state_class: "measurement"
      device_class: "current"
    - name: inverter_Current_Output_R
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Current_Output_R / 100 }}"
      unit_of_measurement: "A"
      state_class: "measurement"
      device_class: "current"
    - name: inverter_Temperature_Env1
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.Temperature_Env1 }}"
      unit_of_measurement: "C"
      state_class: "measurement"
      device_class: "temperature"
    - name: inverter_Temperature_HeatSink1
      state_topic: "/sensors/energy/inverter2/All"
      value_template: "{{ value_json.HeatSink1 }}"
      unit_of_measurement: "C"
      state_class: "measurement"
      device_class: "temperature"

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?